You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 1, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: dist/README.md
+9-13Lines changed: 9 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,24 +13,19 @@ The goal is of course to be able to run SlickGrid within Angular 4+ but also to
13
13
### NPM Package
14
14
[Angular-Slickgrid on NPM](https://www.npmjs.com/package/angular-slickgrid)
15
15
16
-
<aname="wiki"></a>
17
-
18
16
## Wiki / Documentation
19
17
The Wiki is where all the documentation and instructions will go, so please consult the [Angular-Validation - Wiki](https://github.com/ghiscoding/angular-slickgrid/wiki) before opening any issues. The [Wiki - HOWTO](https://github.com/ghiscoding/angular-slickgrid/wiki/HOWTO---Step-by-Step) is a great place to start with.
20
18
21
19
22
-
<aname="main-features"></a>
23
-
24
20
## Main features
25
21
You can see some screenshots below and the instructions down below.
26
22
27
23
This is a work in progress, but so far here are some of the features that `angular-slickgrid` brings (on top of Slickgrid itself):
28
24
- Easier use of SlickGrid within `Angular` as it is just a component (simply pass a column definitions and a dataset and you're good to go)
29
25
- Bootstrap Theme with SASS variables for extra customization (if you create a theme, then please make a PR)
30
26
- Auto-resize (boolean flag), will resize the datagrid viewport with available space even on browser resize (basically takes available space of it's container)
31
-
- Integrated Plugins.
32
-
- Column Picker (show/hide any column by doing `right+click` in the header, click [here to see print screen](/screenshots/columnPicker.png)).
33
-
- ... more to come
27
+
- Inline Editors
28
+
- Support all SlickGrid Plugins.
34
29
- Server side (backend) Services (filtering, sorting, pagination)
@@ -40,17 +35,18 @@ This is a work in progress, but so far here are some of the features that `angul
40
35
- Formatters (a few default ones were added, and you can easily create custom ones too)
41
36
- Optimized DataView which brings a lot of functionalities (sort, grouping, and more)
42
37
- even server side data is saved into the SlickGrid DataView
38
+
- All the [SlickGrid Events](https://github.com/6pac/SlickGrid/wiki/Grid-Events) are supported, see the [Wiki](https://github.com/ghiscoding/Angular-Slickgrid/wiki/Grid-&-DataView-Events)
43
39
- ... more to come
44
40
45
-
<aname="missing-features"></a>
46
-
47
41
## Missing features (planned items, not necessarily in order of execution)
48
42
The following are SlickGrid features which are not yet included in this library but will be in the eventual future.
49
-
- Inline Editors
50
43
- Filters to support multi-select dropdown and eventually custom filters
var moment$11 = moment_min || moment_; // patch to fix rollup "moment has no default export" issue, document here https://github.com/rollup/rollup/issues/670
9546
-
var DATE_FORMAT = 'M/D/YY';
9546
+
var FORMAT$8 = mapMomentDateFormatWithFieldType(FieldType.dateUsShort);
9547
9547
var dateUsShortSorter = function (value1, value2, sortDirection) {
9548
-
if (!moment$11(value1, DATE_FORMAT, true).isValid() || !moment$11(value2, DATE_FORMAT, true).isValid()) {
9548
+
if (!moment$11(value1, FORMAT$8, true).isValid() || !moment$11(value2, FORMAT$8, true).isValid()) {
9549
9549
return 0;
9550
9550
}
9551
-
var /** @type {?} */ date1 = moment$11(value1, DATE_FORMAT, true);
9552
-
var /** @type {?} */ date2 = moment$11(value2, DATE_FORMAT, true);
9551
+
var /** @type {?} */ date1 = moment$11(value1, FORMAT$8, true);
9552
+
var /** @type {?} */ date2 = moment$11(value2, FORMAT$8, true);
var moment$13 = moment_min || moment_; // patch to fix rollup "moment has no default export" issue, document here https://github.com/rollup/rollup/issues/670
9567
-
var DATE_FORMAT$1 = 'YYYY-MM-DD';
9567
+
var FORMAT$9 = mapMomentDateFormatWithFieldType(FieldType.dateIso);
9568
9568
var dateIsoSorter = function (value1, value2, sortDirection) {
9569
-
if (!moment$13(value1, DATE_FORMAT$1, true).isValid() || !moment$13(value2, DATE_FORMAT$1, true).isValid()) {
9569
+
if (!moment$13(value1, FORMAT$9, true).isValid() || !moment$13(value2, FORMAT$9, true).isValid()) {
9570
9570
return 0;
9571
9571
}
9572
-
var /** @type {?} */ date1 = moment$13(value1, DATE_FORMAT$1, true);
9573
-
var /** @type {?} */ date2 = moment$13(value2, DATE_FORMAT$1, true);
9572
+
var /** @type {?} */ date1 = moment$13(value1, FORMAT$9, true);
9573
+
var /** @type {?} */ date2 = moment$13(value2, FORMAT$9, true);
var moment$14 = moment_min || moment_; // patch to fix rollup "moment has no default export" issue, document here https://github.com/rollup/rollup/issues/670
9578
-
var DATE_FORMAT$2 = 'M/D/YYYY';
9578
+
var FORMAT$10 = mapMomentDateFormatWithFieldType(FieldType.dateUs);
9579
9579
var dateUsSorter = function (value1, value2, sortDirection) {
9580
-
if (!moment$14(value1, DATE_FORMAT$2, true).isValid() || !moment$14(value2, DATE_FORMAT$2, true).isValid()) {
9580
+
if (!moment$14(value1, FORMAT$10, true).isValid() || !moment$14(value2, FORMAT$10, true).isValid()) {
9581
9581
return 0;
9582
9582
}
9583
-
var /** @type {?} */ date1 = moment$14(value1, DATE_FORMAT$2, true);
9584
-
var /** @type {?} */ date2 = moment$14(value2, DATE_FORMAT$2, true);
9583
+
var /** @type {?} */ date1 = moment$14(value1, FORMAT$10, true);
9584
+
var /** @type {?} */ date2 = moment$14(value2, FORMAT$10, true);
0 commit comments