@syncfusion/ej2-treegrid 25.2.6 → 26.1.35-469198
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +243 -259
- package/README.md +83 -83
- package/dist/ej2-treegrid.min.js +1 -10
- package/dist/ej2-treegrid.umd.min.js +1 -10
- package/dist/ej2-treegrid.umd.min.js.map +1 -1
- package/dist/es6/ej2-treegrid.es2015.js +698 -530
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +1215 -1046
- package/dist/es6/ej2-treegrid.es5.js.map +1 -1
- package/dist/global/ej2-treegrid.min.js +1 -10
- package/dist/global/ej2-treegrid.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/dist/ts/undefined +602 -0
- package/license +9 -9
- package/package.json +70 -70
- package/src/treegrid/actions/clipboard.js +13 -13
- package/src/treegrid/actions/edit.js +8 -7
- package/src/treegrid/actions/excel-export.js +4 -3
- package/src/treegrid/actions/logger.js +13 -13
- package/src/treegrid/actions/page.js +4 -0
- package/src/treegrid/actions/rowdragdrop.js +25 -14
- package/src/treegrid/actions/selection.js +4 -1
- package/src/treegrid/actions/virtual-scroll.js +13 -13
- package/src/treegrid/base/constant.js +2 -0
- package/src/treegrid/base/data.js +2 -1
- package/src/treegrid/base/interface.js +0 -1
- package/src/treegrid/base/treegrid-model.d.ts +875 -875
- package/src/treegrid/base/treegrid.js +260 -92
- package/src/treegrid/models/column-model.d.ts +6 -6
- package/src/treegrid/models/column.js +19 -19
- package/src/treegrid/models/edit-settings-model.d.ts +72 -72
- package/src/treegrid/models/edit-settings.js +19 -19
- package/src/treegrid/models/filter-settings-model.d.ts +206 -206
- package/src/treegrid/models/filter-settings.js +19 -19
- package/src/treegrid/models/infinite-scroll-settings-model.d.ts +16 -16
- package/src/treegrid/models/infinite-scroll-settings.js +19 -19
- package/src/treegrid/models/loading-indicator.js +19 -19
- package/src/treegrid/models/page-settings-model.d.ts +46 -46
- package/src/treegrid/models/page-settings.js +19 -19
- package/src/treegrid/models/rowdrop-settings-model.d.ts +6 -6
- package/src/treegrid/models/rowdrop-settings.js +19 -19
- package/src/treegrid/models/search-settings-model.d.ts +60 -60
- package/src/treegrid/models/search-settings.js +19 -19
- package/src/treegrid/models/selection-settings-model.d.ts +66 -66
- package/src/treegrid/models/selection-settings.js +19 -19
- package/src/treegrid/models/sort-settings-model.d.ts +24 -24
- package/src/treegrid/models/sort-settings.js +19 -19
- package/src/treegrid/models/summary-model.d.ts +64 -64
- package/src/treegrid/models/summary.js +19 -19
- package/src/treegrid/models/textwrap-settings-model.d.ts +9 -9
- package/src/treegrid/models/textwrap-settings.js +19 -19
- package/src/treegrid/renderer/virtual-row-model-generator.js +15 -15
- package/src/treegrid/renderer/virtual-tree-content-render.js +15 -14
- package/styles/bds-lite.css +745 -0
- package/styles/bds-lite.scss +18 -0
- package/styles/bds.css +765 -0
- package/styles/bds.scss +19 -0
- package/styles/bootstrap-dark-lite.css +506 -0
- package/styles/bootstrap-dark-lite.scss +18 -0
- package/styles/bootstrap-dark.css +187 -117
- package/styles/bootstrap-dark.scss +19 -1
- package/styles/bootstrap-lite.css +509 -0
- package/styles/bootstrap-lite.scss +18 -0
- package/styles/bootstrap.css +190 -121
- package/styles/bootstrap.scss +19 -1
- package/styles/bootstrap4-lite.css +550 -0
- package/styles/bootstrap4-lite.scss +18 -0
- package/styles/bootstrap4.css +194 -133
- package/styles/bootstrap4.scss +19 -1
- package/styles/bootstrap5-dark-lite.css +545 -0
- package/styles/bootstrap5-dark-lite.scss +18 -0
- package/styles/bootstrap5-dark.css +189 -123
- package/styles/bootstrap5-dark.scss +19 -1
- package/styles/bootstrap5-lite.css +545 -0
- package/styles/bootstrap5-lite.scss +18 -0
- package/styles/bootstrap5.3-lite.css +1637 -0
- package/styles/bootstrap5.3-lite.scss +18 -0
- package/styles/bootstrap5.3.css +1657 -0
- package/styles/bootstrap5.3.scss +19 -0
- package/styles/bootstrap5.css +188 -122
- package/styles/bootstrap5.scss +19 -1
- package/styles/fabric-dark-lite.css +485 -0
- package/styles/fabric-dark-lite.scss +18 -0
- package/styles/fabric-dark.css +188 -118
- package/styles/fabric-dark.scss +19 -1
- package/styles/fabric-lite.css +485 -0
- package/styles/fabric-lite.scss +18 -0
- package/styles/fabric.css +188 -111
- package/styles/fabric.scss +19 -1
- package/styles/fluent-dark-lite.css +548 -0
- package/styles/fluent-dark-lite.scss +18 -0
- package/styles/fluent-dark.css +195 -116
- package/styles/fluent-dark.scss +19 -1
- package/styles/fluent-lite.css +548 -0
- package/styles/fluent-lite.scss +18 -0
- package/styles/fluent.css +195 -116
- package/styles/fluent.scss +19 -1
- package/styles/fluent2-lite.css +1856 -0
- package/styles/fluent2-lite.scss +18 -0
- package/styles/fluent2.css +1879 -0
- package/styles/fluent2.scss +19 -0
- package/styles/highcontrast-light-lite.css +491 -0
- package/styles/highcontrast-light-lite.scss +18 -0
- package/styles/highcontrast-light.css +185 -103
- package/styles/highcontrast-light.scss +19 -1
- package/styles/highcontrast-lite.css +498 -0
- package/styles/highcontrast-lite.scss +18 -0
- package/styles/highcontrast.css +196 -107
- package/styles/highcontrast.scss +19 -1
- package/styles/material-dark-lite.css +567 -0
- package/styles/material-dark-lite.scss +18 -0
- package/styles/material-dark.css +220 -105
- package/styles/material-dark.scss +19 -1
- package/styles/material-lite.css +591 -0
- package/styles/material-lite.scss +18 -0
- package/styles/material.css +234 -129
- package/styles/material.scss +19 -1
- package/styles/material3-dark-lite.css +1666 -0
- package/styles/material3-dark-lite.scss +18 -0
- package/styles/material3-dark.css +1310 -187
- package/styles/material3-dark.scss +19 -1
- package/styles/material3-lite.css +1668 -0
- package/styles/material3-lite.scss +18 -0
- package/styles/material3.css +1311 -242
- package/styles/material3.scss +19 -1
- package/styles/tailwind-dark-lite.css +518 -0
- package/styles/tailwind-dark-lite.scss +18 -0
- package/styles/tailwind-dark.css +196 -103
- package/styles/tailwind-dark.scss +19 -1
- package/styles/tailwind-lite.css +518 -0
- package/styles/tailwind-lite.scss +18 -0
- package/styles/tailwind.css +196 -103
- package/styles/tailwind.scss +19 -1
- package/styles/tailwind3-lite.css +1697 -0
- package/styles/tailwind3-lite.scss +18 -0
- package/styles/tailwind3.css +1717 -0
- package/styles/tailwind3.scss +19 -0
- package/styles/treegrid/_all.scss +2 -2
- package/styles/treegrid/_bds-definition.scss +49 -28
- package/styles/treegrid/_bigger.scss +66 -0
- package/styles/treegrid/_bootstrap-dark-definition.scss +54 -30
- package/styles/treegrid/_bootstrap-definition.scss +54 -30
- package/styles/treegrid/_bootstrap4-definition.scss +54 -30
- package/styles/treegrid/_bootstrap5-definition.scss +49 -28
- package/styles/treegrid/_bootstrap5.3-definition.scss +49 -0
- package/styles/treegrid/_fabric-dark-definition.scss +54 -30
- package/styles/treegrid/_fabric-definition.scss +54 -30
- package/styles/treegrid/_fluent-definition.scss +50 -29
- package/styles/treegrid/_fluent2-definition.scss +49 -0
- package/styles/treegrid/_fusionnew-definition.scss +49 -28
- package/styles/treegrid/_highcontrast-definition.scss +54 -30
- package/styles/treegrid/_highcontrast-light-definition.scss +54 -30
- package/styles/treegrid/_icons.scss +47 -37
- package/styles/treegrid/_layout.scss +530 -455
- package/styles/treegrid/_material-dark-definition.scss +54 -30
- package/styles/treegrid/_material-definition.scss +54 -30
- package/styles/treegrid/_material3-definition.scss +49 -28
- package/styles/treegrid/_tailwind-definition.scss +49 -28
- package/styles/treegrid/_tailwind3-definition.scss +49 -0
- package/styles/treegrid/_theme.scss +1 -1
- package/styles/treegrid/bds.css +765 -0
- package/styles/treegrid/bds.scss +19 -0
- package/styles/treegrid/bootstrap-dark.css +187 -117
- package/styles/treegrid/bootstrap-dark.scss +1 -0
- package/styles/treegrid/bootstrap.css +190 -121
- package/styles/treegrid/bootstrap.scss +1 -0
- package/styles/treegrid/bootstrap4.css +194 -133
- package/styles/treegrid/bootstrap4.scss +1 -0
- package/styles/treegrid/bootstrap5-dark.css +189 -123
- package/styles/treegrid/bootstrap5-dark.scss +1 -0
- package/styles/treegrid/bootstrap5.3.css +1657 -0
- package/styles/treegrid/bootstrap5.3.scss +19 -0
- package/styles/treegrid/bootstrap5.css +188 -122
- package/styles/treegrid/bootstrap5.scss +1 -0
- package/styles/treegrid/fabric-dark.css +188 -118
- package/styles/treegrid/fabric-dark.scss +1 -0
- package/styles/treegrid/fabric.css +188 -111
- package/styles/treegrid/fabric.scss +1 -0
- package/styles/treegrid/fluent-dark.css +195 -116
- package/styles/treegrid/fluent-dark.scss +1 -0
- package/styles/treegrid/fluent.css +195 -116
- package/styles/treegrid/fluent.scss +1 -0
- package/styles/treegrid/fluent2.css +1879 -0
- package/styles/treegrid/fluent2.scss +19 -0
- package/styles/treegrid/highcontrast-light.css +185 -103
- package/styles/treegrid/highcontrast-light.scss +1 -0
- package/styles/treegrid/highcontrast.css +196 -107
- package/styles/treegrid/highcontrast.scss +1 -0
- package/styles/treegrid/icons/_bds.scss +37 -37
- package/styles/treegrid/icons/_bootstrap-dark.scss +47 -37
- package/styles/treegrid/icons/_bootstrap.scss +47 -37
- package/styles/treegrid/icons/_bootstrap4.scss +47 -37
- package/styles/treegrid/icons/_bootstrap5.3.scss +47 -0
- package/styles/treegrid/icons/_bootstrap5.scss +47 -37
- package/styles/treegrid/icons/_fabric-dark.scss +47 -37
- package/styles/treegrid/icons/_fabric.scss +47 -37
- package/styles/treegrid/icons/_fluent.scss +47 -37
- package/styles/treegrid/icons/_fluent2.scss +47 -0
- package/styles/treegrid/icons/_fusionnew.scss +30 -26
- package/styles/treegrid/icons/_highcontrast-light.scss +47 -37
- package/styles/treegrid/icons/_highcontrast.scss +47 -37
- package/styles/treegrid/icons/_material-dark.scss +47 -37
- package/styles/treegrid/icons/_material.scss +47 -37
- package/styles/treegrid/icons/_material3.scss +47 -37
- package/styles/treegrid/icons/_tailwind-dark.scss +47 -37
- package/styles/treegrid/icons/_tailwind.scss +47 -37
- package/styles/treegrid/icons/_tailwind3.scss +47 -0
- package/styles/treegrid/material-dark.css +220 -105
- package/styles/treegrid/material-dark.scss +1 -0
- package/styles/treegrid/material.css +234 -129
- package/styles/treegrid/material.scss +1 -0
- package/styles/treegrid/material3-dark.css +1310 -187
- package/styles/treegrid/material3-dark.scss +2 -1
- package/styles/treegrid/material3.css +1311 -242
- package/styles/treegrid/material3.scss +2 -1
- package/styles/treegrid/tailwind-dark.css +196 -103
- package/styles/treegrid/tailwind-dark.scss +1 -0
- package/styles/treegrid/tailwind.css +196 -103
- package/styles/treegrid/tailwind.scss +1 -0
- package/styles/treegrid/tailwind3.css +1717 -0
- package/styles/treegrid/tailwind3.scss +19 -0
- package/CHANGELOG.md +0 -264
- package/helpers/e2e/index.d.ts +0 -1
- package/helpers/e2e/index.js +0 -8
- package/helpers/e2e/treegridhelper.d.ts +0 -21
- package/helpers/e2e/treegridhelper.js +0 -83
- package/index.d.ts +0 -4
- package/index.js +0 -4
- package/src/index.d.ts +0 -4
- package/src/treegrid/actions/batch-edit.d.ts +0 -73
- package/src/treegrid/actions/clipboard.d.ts +0 -36
- package/src/treegrid/actions/column-chooser.d.ts +0 -37
- package/src/treegrid/actions/column-menu.d.ts +0 -24
- package/src/treegrid/actions/command-column.d.ts +0 -24
- package/src/treegrid/actions/context-menu.d.ts +0 -42
- package/src/treegrid/actions/crud-actions.d.ts +0 -66
- package/src/treegrid/actions/detail-row.d.ts +0 -39
- package/src/treegrid/actions/edit.d.ts +0 -112
- package/src/treegrid/actions/excel-export.d.ts +0 -59
- package/src/treegrid/actions/filter.d.ts +0 -57
- package/src/treegrid/actions/freeze-column.d.ts +0 -28
- package/src/treegrid/actions/index.d.ts +0 -24
- package/src/treegrid/actions/infinite-scroll.d.ts +0 -96
- package/src/treegrid/actions/logger.d.ts +0 -25
- package/src/treegrid/actions/page.d.ts +0 -67
- package/src/treegrid/actions/pdf-export.d.ts +0 -55
- package/src/treegrid/actions/print.d.ts +0 -37
- package/src/treegrid/actions/reorder.d.ts +0 -36
- package/src/treegrid/actions/resize.d.ts +0 -36
- package/src/treegrid/actions/rowdragdrop.d.ts +0 -113
- package/src/treegrid/actions/selection.d.ts +0 -51
- package/src/treegrid/actions/sort.d.ts +0 -63
- package/src/treegrid/actions/summary.d.ts +0 -47
- package/src/treegrid/actions/toolbar.d.ts +0 -52
- package/src/treegrid/actions/virtual-scroll.d.ts +0 -53
- package/src/treegrid/base/constant.d.ts +0 -160
- package/src/treegrid/base/data.d.ts +0 -90
- package/src/treegrid/base/index.d.ts +0 -11
- package/src/treegrid/base/interface.d.ts +0 -182
- package/src/treegrid/base/treegrid.d.ts +0 -2186
- package/src/treegrid/enum.d.ts +0 -155
- package/src/treegrid/index.d.ts +0 -9
- package/src/treegrid/models/column.d.ts +0 -752
- package/src/treegrid/models/edit-settings.d.ts +0 -90
- package/src/treegrid/models/filter-settings.d.ts +0 -203
- package/src/treegrid/models/index.d.ts +0 -24
- package/src/treegrid/models/infinite-scroll-settings.d.ts +0 -25
- package/src/treegrid/models/loading-indicator.d.ts +0 -19
- package/src/treegrid/models/page-settings.d.ts +0 -60
- package/src/treegrid/models/rowdrop-settings.d.ts +0 -27
- package/src/treegrid/models/search-settings.d.ts +0 -71
- package/src/treegrid/models/selection-settings.d.ts +0 -79
- package/src/treegrid/models/sort-settings.d.ts +0 -40
- package/src/treegrid/models/summary.d.ts +0 -124
- package/src/treegrid/models/textwrap-settings.d.ts +0 -16
- package/src/treegrid/renderer/index.d.ts +0 -5
- package/src/treegrid/renderer/render.d.ts +0 -41
- package/src/treegrid/renderer/virtual-row-model-generator.d.ts +0 -16
- package/src/treegrid/renderer/virtual-tree-content-render.d.ts +0 -75
- package/src/treegrid/utils.d.ts +0 -70
- package/treegrid.d.ts +0 -4
- package/treegrid.js +0 -4
- package/tslint.json +0 -111
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
import { EditMode, RowPosition } from '../enum';
|
|
3
|
-
import { IDialogUI } from '@syncfusion/ej2-grids';
|
|
4
|
-
/**
|
|
5
|
-
* Configures the edit behavior of the TreeGrid.
|
|
6
|
-
*/
|
|
7
|
-
export declare class EditSettings extends ChildProperty<EditSettings> {
|
|
8
|
-
/**
|
|
9
|
-
* If `allowAdding` is set to true, new records can be added to the TreeGrid.
|
|
10
|
-
*
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
allowAdding: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* If `allowEditing` is set to true, values can be updated in the existing record.
|
|
16
|
-
*
|
|
17
|
-
* @default false
|
|
18
|
-
*/
|
|
19
|
-
allowEditing: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* If `allowDeleting` is set to true, existing record can be deleted from the TreeGrid.
|
|
22
|
-
*
|
|
23
|
-
* @default false
|
|
24
|
-
*/
|
|
25
|
-
allowDeleting: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Defines the mode to edit. The available editing modes are:
|
|
28
|
-
* ```props
|
|
29
|
-
* * Cell :- Defines the editing mode as Cell.
|
|
30
|
-
* * Row :- Defines the editing mode as Row.
|
|
31
|
-
* * Dialog :- Defines the editing mode as Dialog.
|
|
32
|
-
* * Batch :- Defines the editing mode as Batch.
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @default Cell
|
|
36
|
-
* @isEnumeration true
|
|
37
|
-
*/
|
|
38
|
-
mode: EditMode;
|
|
39
|
-
/**
|
|
40
|
-
* Defines the row position for new records. The available row positions are:
|
|
41
|
-
* ```props
|
|
42
|
-
* * Top :- Defines the row position as Top.
|
|
43
|
-
* * Bottom :- Defines the row position as Bottom.
|
|
44
|
-
* * Above :- Defines the row position as Above.
|
|
45
|
-
* * Below :- Defines the row position as Below.
|
|
46
|
-
* * Child :- Defines the row position as Child.
|
|
47
|
-
* ```
|
|
48
|
-
* {% codeBlock src='treegrid/newRowPosition/index.md' %}{% endcodeBlock %}
|
|
49
|
-
*
|
|
50
|
-
* @default Top
|
|
51
|
-
*/
|
|
52
|
-
newRowPosition: RowPosition;
|
|
53
|
-
/**
|
|
54
|
-
* If `allowEditOnDblClick` is set to false, TreeGrid will not allow editing of a record on double click.
|
|
55
|
-
*
|
|
56
|
-
* @default true
|
|
57
|
-
*/
|
|
58
|
-
allowEditOnDblClick: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* if `showConfirmDialog` is set to false, confirm dialog does not show when batch changes are saved or discarded.
|
|
61
|
-
*
|
|
62
|
-
* @default true
|
|
63
|
-
*/
|
|
64
|
-
showConfirmDialog: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* If `showDeleteConfirmDialog` is set to true, confirm dialog will show delete action. You can also cancel delete command.
|
|
67
|
-
*
|
|
68
|
-
* @default false
|
|
69
|
-
*/
|
|
70
|
-
showDeleteConfirmDialog: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Defines the custom edit elements for the dialog template.
|
|
73
|
-
*
|
|
74
|
-
* @default ''
|
|
75
|
-
* @aspType string
|
|
76
|
-
*/
|
|
77
|
-
template: string | Function;
|
|
78
|
-
/**
|
|
79
|
-
* Defines the dialog params to edit.
|
|
80
|
-
*
|
|
81
|
-
* @default {}
|
|
82
|
-
*/
|
|
83
|
-
dialog: IDialogUI;
|
|
84
|
-
/**
|
|
85
|
-
* If `allowNextRowEdit` is set as true, editing is continued to next row with keyboard navigation.
|
|
86
|
-
*
|
|
87
|
-
* @default false
|
|
88
|
-
*/
|
|
89
|
-
allowNextRowEdit: boolean;
|
|
90
|
-
}
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
import { ICustomOptr, FilterBarMode, FilterType } from '@syncfusion/ej2-grids';
|
|
3
|
-
import { FilterHierarchyMode } from '../enum';
|
|
4
|
-
import { PredicateModel } from './filter-settings-model';
|
|
5
|
-
/**
|
|
6
|
-
* Represents the Tree Grid predicate for the filter column.
|
|
7
|
-
*/
|
|
8
|
-
export declare class Predicate extends ChildProperty<Predicate> {
|
|
9
|
-
/**
|
|
10
|
-
* Defines the field name of the filter column in Tree Grid.
|
|
11
|
-
*
|
|
12
|
-
* @default ''
|
|
13
|
-
*/
|
|
14
|
-
field: string;
|
|
15
|
-
/**
|
|
16
|
-
* Defines the operator to filter Tree Grid records. The available operators and its supported data types are:
|
|
17
|
-
* <table>
|
|
18
|
-
* <tr>
|
|
19
|
-
* <td colspan=1 rowspan=1>
|
|
20
|
-
* Operator<br/></td><td colspan=1 rowspan=1>
|
|
21
|
-
* Description<br/></td><td colspan=1 rowspan=1>
|
|
22
|
-
* Supported Types<br/></td></tr>
|
|
23
|
-
* <tr>
|
|
24
|
-
* <td colspan=1 rowspan=1>
|
|
25
|
-
* startswith<br/></td><td colspan=1 rowspan=1>
|
|
26
|
-
* Checks whether the value begins with the specified value.<br/></td><td colspan=1 rowspan=1>
|
|
27
|
-
* String<br/></td></tr>
|
|
28
|
-
* <tr>
|
|
29
|
-
* <td colspan=1 rowspan=1>
|
|
30
|
-
* endswith<br/></td><td colspan=1 rowspan=1>
|
|
31
|
-
* Checks whether the value ends with the specified value.<br/><br/></td><td colspan=1 rowspan=1>
|
|
32
|
-
* <br/>String<br/></td></tr>
|
|
33
|
-
* <tr>
|
|
34
|
-
* <td colspan=1 rowspan=1>
|
|
35
|
-
* contains<br/></td><td colspan=1 rowspan=1>
|
|
36
|
-
* Checks whether the value contains the specified value.<br/><br/></td><td colspan=1 rowspan=1>
|
|
37
|
-
* <br/>String<br/></td></tr>
|
|
38
|
-
* <tr>
|
|
39
|
-
* <td colspan=1 rowspan=1>
|
|
40
|
-
* equal<br/></td><td colspan=1 rowspan=1>
|
|
41
|
-
* Checks whether the value is equal to the specified value.<br/><br/></td><td colspan=1 rowspan=1>
|
|
42
|
-
* <br/>String | Number | Boolean | Date<br/></td></tr>
|
|
43
|
-
* <tr>
|
|
44
|
-
* <td colspan=1 rowspan=1>
|
|
45
|
-
* notequal<br/></td><td colspan=1 rowspan=1>
|
|
46
|
-
* Checks for values that are not equal to the specified value.<br/><br/></td><td colspan=1 rowspan=1>
|
|
47
|
-
* <br/>String | Number | Boolean | Date<br/></td></tr>
|
|
48
|
-
* <tr>
|
|
49
|
-
* <td colspan=1 rowspan=1>
|
|
50
|
-
* greaterthan<br/></td><td colspan=1 rowspan=1>
|
|
51
|
-
* Checks whether the value is greater than the specified value.<br/><br/></td><td colspan=1 rowspan=1>
|
|
52
|
-
* Number | Date<br/></td></tr>
|
|
53
|
-
* <tr>
|
|
54
|
-
* <td colspan=1 rowspan=1>
|
|
55
|
-
* greaterthanorequal<br/></td><td colspan=1 rowspan=1>
|
|
56
|
-
* Checks whether the value is greater than or equal to the specified value.<br/><br/></td><td colspan=1 rowspan=1>
|
|
57
|
-
* <br/>Number | Date<br/></td></tr>
|
|
58
|
-
* <tr>
|
|
59
|
-
* <td colspan=1 rowspan=1>
|
|
60
|
-
* lessthan<br/></td><td colspan=1 rowspan=1>
|
|
61
|
-
* Checks whether the value is less than the specified value.<br/><br/></td><td colspan=1 rowspan=1>
|
|
62
|
-
* <br/>Number | Date<br/></td></tr>
|
|
63
|
-
* <tr>
|
|
64
|
-
* <td colspan=1 rowspan=1>
|
|
65
|
-
* lessthanorequal<br/></td><td colspan=1 rowspan=1>
|
|
66
|
-
* Checks whether the value is less than or equal to the specified value.<br/><br/></td><td colspan=1 rowspan=1>
|
|
67
|
-
* <br/>Number | Date<br/></td></tr>
|
|
68
|
-
* </table>
|
|
69
|
-
*
|
|
70
|
-
* @default null
|
|
71
|
-
*/
|
|
72
|
-
operator: string;
|
|
73
|
-
/**
|
|
74
|
-
* Defines the value used to filter records in Tree Grid.
|
|
75
|
-
*
|
|
76
|
-
* @default ''
|
|
77
|
-
*/
|
|
78
|
-
value: string | number | Date | boolean;
|
|
79
|
-
/**
|
|
80
|
-
* If match case set to true, then filter records with exact match or else
|
|
81
|
-
* filter records with case insensitive(uppercase and lowercase letters treated as same) in Tree Grid.
|
|
82
|
-
*
|
|
83
|
-
* @default null
|
|
84
|
-
*/
|
|
85
|
-
matchCase: boolean;
|
|
86
|
-
/**
|
|
87
|
-
* If ignoreAccent is set to true, then filter ignores the diacritic characters or accents while filtering in Tree Grid.
|
|
88
|
-
*
|
|
89
|
-
* @default false
|
|
90
|
-
*/
|
|
91
|
-
ignoreAccent: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Defines relationship between one filter query and another by using AND or OR predicate.
|
|
94
|
-
*
|
|
95
|
-
* @default null
|
|
96
|
-
*/
|
|
97
|
-
predicate: string;
|
|
98
|
-
/**
|
|
99
|
-
* @hidden
|
|
100
|
-
* Defines the actual filter value for the filter column in Tree Grid.
|
|
101
|
-
*/
|
|
102
|
-
actualFilterValue: Object;
|
|
103
|
-
/**
|
|
104
|
-
* @hidden
|
|
105
|
-
* Defines the actual filter operator for the filter column in Tree Grid.
|
|
106
|
-
*/
|
|
107
|
-
actualOperator: Object;
|
|
108
|
-
/**
|
|
109
|
-
* @hidden
|
|
110
|
-
* Defines the type of the filter column in Tree Grid.
|
|
111
|
-
*/
|
|
112
|
-
type: string;
|
|
113
|
-
/**
|
|
114
|
-
* @hidden
|
|
115
|
-
* Defines the predicate of filter column in Tree Grid.
|
|
116
|
-
*/
|
|
117
|
-
ejpredicate: Object;
|
|
118
|
-
/**
|
|
119
|
-
* @hidden
|
|
120
|
-
* Defines the UID of filter column.
|
|
121
|
-
*/
|
|
122
|
-
uid: string;
|
|
123
|
-
/**
|
|
124
|
-
* @hidden
|
|
125
|
-
* Defines the foreignKey availability in filtered columns.
|
|
126
|
-
*/
|
|
127
|
-
isForeignKey: boolean;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* Configures the filtering behavior of the TreeGrid.
|
|
131
|
-
*/
|
|
132
|
-
export declare class FilterSettings extends ChildProperty<FilterSettings> {
|
|
133
|
-
/**
|
|
134
|
-
* Specifies the columns to be filtered at initial rendering of the TreeGrid. You can also get the columns that were currently filtered.
|
|
135
|
-
*
|
|
136
|
-
* @default []
|
|
137
|
-
*/
|
|
138
|
-
columns: PredicateModel[];
|
|
139
|
-
/**
|
|
140
|
-
* Defines options for filtering type. The available options are
|
|
141
|
-
* * `Menu` - Specifies the filter type as menu.
|
|
142
|
-
* * `FilterBar` - Specifies the filter type as filterbar.
|
|
143
|
-
*
|
|
144
|
-
* @default FilterBar
|
|
145
|
-
*/
|
|
146
|
-
type: FilterType;
|
|
147
|
-
/**
|
|
148
|
-
* Defines the filter bar modes. The available options are,
|
|
149
|
-
* ```props
|
|
150
|
-
* * OnEnter :- Initiates filter operation after Enter key is pressed.
|
|
151
|
-
* * Immediate :- Initiates filter operation after a certain time interval. By default, time interval is 1500 ms.
|
|
152
|
-
* ```
|
|
153
|
-
*
|
|
154
|
-
* @default Syncfusion.EJ2.Grids.FilterBarMode.OnEnter
|
|
155
|
-
* @isEnumeration true
|
|
156
|
-
* @aspType Syncfusion.EJ2.Grids.FilterBarMode
|
|
157
|
-
*/
|
|
158
|
-
mode: FilterBarMode;
|
|
159
|
-
/**
|
|
160
|
-
* Shows or hides the filtered status message on the pager.
|
|
161
|
-
*
|
|
162
|
-
* @default true
|
|
163
|
-
*/
|
|
164
|
-
showFilterBarStatus: boolean;
|
|
165
|
-
/**
|
|
166
|
-
* Defines the time delay (in milliseconds) in filtering records when the `Immediate` mode of filter bar is set.
|
|
167
|
-
*
|
|
168
|
-
* @default 1500
|
|
169
|
-
*/
|
|
170
|
-
immediateModeDelay: number;
|
|
171
|
-
/**
|
|
172
|
-
* The `operators` is used to override the default operators in filter menu. This should be defined by type wise
|
|
173
|
-
* (string, number, date and boolean). Based on the column type, this customize operator list will render in filter menu.
|
|
174
|
-
*
|
|
175
|
-
* > Check the `Filter Menu Operator` customization.
|
|
176
|
-
*
|
|
177
|
-
* @default null
|
|
178
|
-
*/
|
|
179
|
-
operators: ICustomOptr;
|
|
180
|
-
/**
|
|
181
|
-
* If ignoreAccent set to true, then filter ignores the diacritic characters or accents while filtering.
|
|
182
|
-
*
|
|
183
|
-
* > Check the [`Diacritics`](../../treegrid/filtering/#diacritics/) filtering.
|
|
184
|
-
*
|
|
185
|
-
* @default false
|
|
186
|
-
*/
|
|
187
|
-
ignoreAccent: boolean;
|
|
188
|
-
/**
|
|
189
|
-
* Defines the filter hierarchy modes. The available options are,
|
|
190
|
-
* ```props
|
|
191
|
-
* * Parent :- Shows the filtered record with parent record.
|
|
192
|
-
* * Child :- Shows the filtered record with child record.
|
|
193
|
-
* * Both :- Shows the filtered record with both parent and child record.
|
|
194
|
-
* * None :- Shows only the filtered record.
|
|
195
|
-
* ```
|
|
196
|
-
* {% codeBlock src='treegrid/hierarchyMode/index.md' %}{% endcodeBlock %}
|
|
197
|
-
*
|
|
198
|
-
* @default Parent
|
|
199
|
-
* @isEnumeration true
|
|
200
|
-
* @aspType FilterHierarchyMode
|
|
201
|
-
*/
|
|
202
|
-
hierarchyMode: FilterHierarchyMode;
|
|
203
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Models export
|
|
3
|
-
*/
|
|
4
|
-
export * from './column';
|
|
5
|
-
export * from './edit-settings';
|
|
6
|
-
export * from './edit-settings-model';
|
|
7
|
-
export * from './filter-settings';
|
|
8
|
-
export * from './filter-settings-model';
|
|
9
|
-
export * from './page-settings';
|
|
10
|
-
export * from './page-settings-model';
|
|
11
|
-
export * from './search-settings';
|
|
12
|
-
export * from './search-settings-model';
|
|
13
|
-
export * from './selection-settings';
|
|
14
|
-
export * from './selection-settings-model';
|
|
15
|
-
export * from './summary';
|
|
16
|
-
export * from './summary-model';
|
|
17
|
-
export * from './sort-settings';
|
|
18
|
-
export * from './sort-settings-model';
|
|
19
|
-
export * from './rowdrop-settings';
|
|
20
|
-
export * from './rowdrop-settings-model';
|
|
21
|
-
export * from './infinite-scroll-settings';
|
|
22
|
-
export * from './infinite-scroll-settings-model';
|
|
23
|
-
export * from './loading-indicator';
|
|
24
|
-
export * from './loading-indicator-model';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
import { InfiniteScrollSettings as GridInfiniteScrollSettings } from '@syncfusion/ej2-grids';
|
|
3
|
-
/**
|
|
4
|
-
* Configures the infinite scroll behavior of Tree Grid.
|
|
5
|
-
*/
|
|
6
|
-
export declare class InfiniteScrollSettings extends ChildProperty<GridInfiniteScrollSettings> {
|
|
7
|
-
/**
|
|
8
|
-
* If `enableCache` is set to true, the Tree Grid will cache the loaded data to be reused next time it is needed.
|
|
9
|
-
*
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
enableCache: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Defines the number of blocks to be maintained in Tree Grid while settings enableCache as true.
|
|
15
|
-
*
|
|
16
|
-
* @default 3
|
|
17
|
-
*/
|
|
18
|
-
maxBlocks: number;
|
|
19
|
-
/**
|
|
20
|
-
* Defines the number of blocks will render at the initial Tree Grid rendering while enableCache is enabled.
|
|
21
|
-
*
|
|
22
|
-
* @default 3
|
|
23
|
-
*/
|
|
24
|
-
initialBlocks: number;
|
|
25
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
import { IndicatorType } from '@syncfusion/ej2-grids';
|
|
3
|
-
/**
|
|
4
|
-
* Configures the Loading Indicator of the Tree Grid.
|
|
5
|
-
*/
|
|
6
|
-
export declare class LoadingIndicator extends ChildProperty<LoadingIndicator> {
|
|
7
|
-
/**
|
|
8
|
-
* Defines the loading indicator. The available loading indicator are:
|
|
9
|
-
* ```props
|
|
10
|
-
* * Spinner :- Defines Loading Indicator as Spinner.
|
|
11
|
-
* * Shimmer :- Defines Loading Indicator as Shimmer.
|
|
12
|
-
* ```
|
|
13
|
-
*
|
|
14
|
-
* @default Syncfusion.EJ2.Grids.IndicatorType.Spinner
|
|
15
|
-
* @isEnumeration true
|
|
16
|
-
* @aspType Syncfusion.EJ2.Grids.IndicatorType
|
|
17
|
-
*/
|
|
18
|
-
indicatorType: IndicatorType;
|
|
19
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
import { PageSizeMode } from '../enum';
|
|
3
|
-
/**
|
|
4
|
-
* Configures the paging behavior of the TreeGrid.
|
|
5
|
-
*/
|
|
6
|
-
export declare class PageSettings extends ChildProperty<PageSettings> {
|
|
7
|
-
/**
|
|
8
|
-
* Defines the number of records to be displayed in TreeGrid per page.
|
|
9
|
-
*
|
|
10
|
-
* @default 12
|
|
11
|
-
*/
|
|
12
|
-
pageSize: number;
|
|
13
|
-
/**
|
|
14
|
-
* Defines the number of pages to be displayed in the TreeGrid pager container.
|
|
15
|
-
*
|
|
16
|
-
* @default 8
|
|
17
|
-
*/
|
|
18
|
-
pageCount: number;
|
|
19
|
-
/**
|
|
20
|
-
* Defines the current page number of the pager in TreeGrid.
|
|
21
|
-
*
|
|
22
|
-
* @default 1
|
|
23
|
-
*/
|
|
24
|
-
currentPage: number;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
* Gets the total records count of the TreeGrid.
|
|
28
|
-
*/
|
|
29
|
-
totalRecordsCount: number;
|
|
30
|
-
/**
|
|
31
|
-
* If `enableQueryString` set to true,
|
|
32
|
-
* then it pass current page information as a query string along with the URL while navigating to other page in TreeGrid.
|
|
33
|
-
*
|
|
34
|
-
* @default false
|
|
35
|
-
*/
|
|
36
|
-
enableQueryString: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* If `pageSizes` set to true or Array of values,
|
|
39
|
-
* It renders DropDownList in the pager of TreeGrid which allow us to select pageSize from DropDownList.
|
|
40
|
-
*
|
|
41
|
-
* @default false
|
|
42
|
-
*/
|
|
43
|
-
pageSizes: boolean | (number | string)[];
|
|
44
|
-
/**
|
|
45
|
-
* Defines the template which renders customized elements in pager of TreeGrid instead of default elements.
|
|
46
|
-
* It accepts either [template string](https://ej2.syncfusion.com/documentation/common/template-engine/) or HTML element ID.
|
|
47
|
-
*
|
|
48
|
-
* @default null
|
|
49
|
-
* @aspType string
|
|
50
|
-
*/
|
|
51
|
-
template: string | Function;
|
|
52
|
-
/**
|
|
53
|
-
* Specifies the mode of record count in a page. The options are,
|
|
54
|
-
* * `All`: Count all the records.
|
|
55
|
-
* * `Root`: Count only zeroth level parent records.
|
|
56
|
-
*
|
|
57
|
-
* @default All
|
|
58
|
-
*/
|
|
59
|
-
pageSizeMode: PageSizeMode;
|
|
60
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
import { ITreeData } from '..';
|
|
3
|
-
/**
|
|
4
|
-
* Configures the row drop settings of the TreeGrid.
|
|
5
|
-
*/
|
|
6
|
-
export declare class RowDropSettings extends ChildProperty<RowDropSettings> {
|
|
7
|
-
/**
|
|
8
|
-
* Defines the ID of droppable component on which row drop should occur.
|
|
9
|
-
*
|
|
10
|
-
* @default null
|
|
11
|
-
*/
|
|
12
|
-
targetID: string;
|
|
13
|
-
}
|
|
14
|
-
export interface TreeActionEventArgs {
|
|
15
|
-
requestType?: string;
|
|
16
|
-
data?: ITreeData | ITreeData[];
|
|
17
|
-
row?: Object[];
|
|
18
|
-
cancel?: boolean;
|
|
19
|
-
/** Defines the corresponding action */
|
|
20
|
-
action?: string;
|
|
21
|
-
/** Defines the target element from index. */
|
|
22
|
-
dropIndex?: number;
|
|
23
|
-
/** Defines drop position of the dragged record */
|
|
24
|
-
dropPosition?: string;
|
|
25
|
-
/** Defines the modified records. */
|
|
26
|
-
modifiedRecords?: ITreeData[];
|
|
27
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
import { FilterHierarchyMode } from '../enum';
|
|
3
|
-
/**
|
|
4
|
-
* Configures the filtering behavior of the TreeGrid.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SearchSettings extends ChildProperty<SearchSettings> {
|
|
7
|
-
/**
|
|
8
|
-
* Specifies the columns to be searched at initial rendering of the TreeGrid. You can also get the columns that were currently filtered.
|
|
9
|
-
*
|
|
10
|
-
* @default []
|
|
11
|
-
*/
|
|
12
|
-
fields: string[];
|
|
13
|
-
/**
|
|
14
|
-
* If ignoreCase set to true, then search ignores the diacritic characters or accents while filtering.
|
|
15
|
-
*
|
|
16
|
-
* > Check the [`Diacritics`](../../treegrid/filtering/#diacritics/) filtering.
|
|
17
|
-
*
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
ignoreCase: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Defines the operator to search records. The available operators are:
|
|
23
|
-
* <table>
|
|
24
|
-
* <tr>
|
|
25
|
-
* <td colspan=1 rowspan=1>
|
|
26
|
-
* Operator<br/></td><td colspan=1 rowspan=1>
|
|
27
|
-
* Description<br/></td></tr>
|
|
28
|
-
* <tr>
|
|
29
|
-
* <td colspan=1 rowspan=1>
|
|
30
|
-
* startswith<br/></td><td colspan=1 rowspan=1>
|
|
31
|
-
* Checks whether the string begins with the specified string.<br/></td></tr>
|
|
32
|
-
* <tr>
|
|
33
|
-
* <td colspan=1 rowspan=1>
|
|
34
|
-
* endswith<br/></td><td colspan=1 rowspan=1>
|
|
35
|
-
* Checks whether the string ends with the specified string.<br/></td></tr>
|
|
36
|
-
* <tr>
|
|
37
|
-
* <td colspan=1 rowspan=1>
|
|
38
|
-
* contains<br/></td><td colspan=1 rowspan=1>
|
|
39
|
-
* Checks whether the string contains the specified string. <br/></td></tr>
|
|
40
|
-
* <tr>
|
|
41
|
-
* <td colspan=1 rowspan=1>
|
|
42
|
-
* equal<br/></td><td colspan=1 rowspan=1>
|
|
43
|
-
* Checks whether the string is equal to the specified string.<br/></td></tr>
|
|
44
|
-
* <tr>
|
|
45
|
-
* <td colspan=1 rowspan=1>
|
|
46
|
-
* notequal<br/></td><td colspan=1 rowspan=1>
|
|
47
|
-
* Checks for strings not equal to the specified string. <br/></td></tr>
|
|
48
|
-
* </table>
|
|
49
|
-
*
|
|
50
|
-
* @default 'contains'
|
|
51
|
-
*/
|
|
52
|
-
operator: string;
|
|
53
|
-
/**
|
|
54
|
-
* A key word for searching the TreeGrid content.
|
|
55
|
-
*/
|
|
56
|
-
key: string;
|
|
57
|
-
/**
|
|
58
|
-
* Defines the search hierarchy modes. The available options are,
|
|
59
|
-
* ```props
|
|
60
|
-
* * Parent :- Shows the searched record with parent record.
|
|
61
|
-
* * Child :- Shows the searched record with child record.
|
|
62
|
-
* * Both :- shows the searched record with both parent and child record.
|
|
63
|
-
* * None :- Shows only the searched record.
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* @default Parent
|
|
67
|
-
* @isEnumeration true
|
|
68
|
-
* @aspType FilterHierarchyMode
|
|
69
|
-
*/
|
|
70
|
-
hierarchyMode: FilterHierarchyMode;
|
|
71
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
import { SelectionMode, CellSelectionMode, SelectionType, CheckboxSelectionType } from '@syncfusion/ej2-grids';
|
|
3
|
-
/**
|
|
4
|
-
* Configures the selection behavior of the TreeGrid.
|
|
5
|
-
*/
|
|
6
|
-
export declare class SelectionSettings extends ChildProperty<SelectionSettings> {
|
|
7
|
-
/**
|
|
8
|
-
* TreeGrid supports row, cell, and both (row and cell) selection mode.
|
|
9
|
-
* ```props
|
|
10
|
-
* * Row :- Selects the entire row.
|
|
11
|
-
* * Cell :- Selects the cell alone.
|
|
12
|
-
* * Both :- Selects the entire row and its cell.
|
|
13
|
-
* ```
|
|
14
|
-
*
|
|
15
|
-
* @default Syncfusion.EJ2.Grids.SelectionMode.Row
|
|
16
|
-
* @isEnumeration true
|
|
17
|
-
* @aspType Syncfusion.EJ2.Grids.SelectionMode
|
|
18
|
-
*/
|
|
19
|
-
mode: SelectionMode;
|
|
20
|
-
/**
|
|
21
|
-
* The cell selection modes are flow and box. It requires the selection
|
|
22
|
-
* [`mode`](#mode) to be either cell or both.
|
|
23
|
-
* ```props
|
|
24
|
-
* * Flow :- Selects the range of cells between start index and end index that also includes the other cells of the selected rows.
|
|
25
|
-
* * Box :- Selects the range of cells within the start and end column indexes that includes in between cells of rows within the range.
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @default Syncfusion.EJ2.Grids.CellSelectionMode.Flow
|
|
29
|
-
* @isEnumeration true
|
|
30
|
-
* @aspType Syncfusion.EJ2.Grids.CellSelectionMode
|
|
31
|
-
*/
|
|
32
|
-
cellSelectionMode: CellSelectionMode;
|
|
33
|
-
/**
|
|
34
|
-
* Defines options for selection type. They are
|
|
35
|
-
* ```props
|
|
36
|
-
* * Single :- Allows selection of only a row or a cell.
|
|
37
|
-
* * Multiple :- Allows selection of multiple rows or cells.
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @default Syncfusion.EJ2.Grids.SelectionType.Single
|
|
41
|
-
* @isEnumeration true
|
|
42
|
-
* @aspType Syncfusion.EJ2.Grids.SelectionType
|
|
43
|
-
*/
|
|
44
|
-
type: SelectionType;
|
|
45
|
-
/**
|
|
46
|
-
* If 'persistSelection' set to true, then the TreeGrid selection is persisted on all operations.
|
|
47
|
-
* For persisting selection in the TreeGrid, any one of the column should be enabled as a primary key.
|
|
48
|
-
*
|
|
49
|
-
* @default false
|
|
50
|
-
*/
|
|
51
|
-
persistSelection: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Defines options for checkbox selection Mode. They are
|
|
54
|
-
* ```props
|
|
55
|
-
* * Default :- This is the default value of the checkboxMode. In this mode, user can select multiple rows by clicking rows one by one.
|
|
56
|
-
* * ResetOnRowClick :- In ResetOnRowClick mode, on clicking a row it will reset previously selected row and also multiple.
|
|
57
|
-
* ```
|
|
58
|
-
* rows can be selected by using CTRL or SHIFT key.
|
|
59
|
-
*
|
|
60
|
-
* @default Syncfusion.EJ2.Grids.CheckboxSelectionType.Default
|
|
61
|
-
* @isEnumeration true
|
|
62
|
-
* @aspType Syncfusion.EJ2.Grids.CheckboxSelectionType
|
|
63
|
-
*/
|
|
64
|
-
checkboxMode: CheckboxSelectionType;
|
|
65
|
-
/**
|
|
66
|
-
* If 'checkboxOnly' set to true, then the TreeGrid selection is allowed only through checkbox.
|
|
67
|
-
*
|
|
68
|
-
* > To enable checkboxOnly selection, should specify the column type as `checkbox`.
|
|
69
|
-
*
|
|
70
|
-
* @default false
|
|
71
|
-
*/
|
|
72
|
-
checkboxOnly: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* If ‘enableToggle’ set to true, then the user can able to perform toggle for the selected row.
|
|
75
|
-
*
|
|
76
|
-
* @default true
|
|
77
|
-
*/
|
|
78
|
-
enableToggle: boolean;
|
|
79
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
-
import { SortDirection } from '@syncfusion/ej2-grids';
|
|
3
|
-
import { SortDescriptorModel } from './sort-settings-model';
|
|
4
|
-
/**
|
|
5
|
-
* Represents the field name and direction of sort column.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SortDescriptor extends ChildProperty<SortDescriptor> {
|
|
8
|
-
/**
|
|
9
|
-
* Defines the field name of sort column.
|
|
10
|
-
*
|
|
11
|
-
* @default ''
|
|
12
|
-
*/
|
|
13
|
-
field: string;
|
|
14
|
-
/**
|
|
15
|
-
* Defines the direction of sort column.
|
|
16
|
-
*
|
|
17
|
-
* @default ''
|
|
18
|
-
* @isEnumeration true
|
|
19
|
-
* @aspType Syncfusion.EJ2.Grids.SortDirection
|
|
20
|
-
*/
|
|
21
|
-
direction: SortDirection;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Configures the sorting behavior of TreeGrid.
|
|
25
|
-
*/
|
|
26
|
-
export declare class SortSettings extends ChildProperty<SortSettings> {
|
|
27
|
-
/**
|
|
28
|
-
* Specifies the columns to sort at initial rendering of TreeGrid.
|
|
29
|
-
* Also user can get current sorted columns.
|
|
30
|
-
*
|
|
31
|
-
* @default []
|
|
32
|
-
*/
|
|
33
|
-
columns: SortDescriptorModel[];
|
|
34
|
-
/**
|
|
35
|
-
* If `allowUnsort` set to false the user can not get the TreeGrid in unsorted state by clicking the sorted column header.
|
|
36
|
-
*
|
|
37
|
-
* @default true
|
|
38
|
-
*/
|
|
39
|
-
allowUnsort: boolean;
|
|
40
|
-
}
|