@syncfusion/ej2-treegrid 30.1.38 → 31.1.17

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.
Files changed (149) hide show
  1. package/aceconfig.js +17 -0
  2. package/dist/ej2-treegrid.min.js +2 -2
  3. package/dist/ej2-treegrid.umd.min.js +2 -2
  4. package/dist/ej2-treegrid.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-treegrid.es2015.js +265 -159
  6. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  7. package/dist/es6/ej2-treegrid.es5.js +293 -169
  8. package/dist/es6/ej2-treegrid.es5.js.map +1 -1
  9. package/dist/global/ej2-treegrid.min.js +2 -2
  10. package/dist/global/ej2-treegrid.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/dist/ts/index.d.ts +4 -0
  13. package/dist/ts/index.ts +4 -0
  14. package/dist/ts/treegrid/actions/batch-edit.d.ts +74 -0
  15. package/dist/ts/treegrid/actions/batch-edit.ts +627 -0
  16. package/dist/ts/treegrid/actions/clipboard.d.ts +36 -0
  17. package/dist/ts/treegrid/actions/clipboard.ts +174 -0
  18. package/dist/ts/treegrid/actions/column-chooser.d.ts +37 -0
  19. package/dist/ts/treegrid/actions/column-chooser.ts +55 -0
  20. package/dist/ts/treegrid/actions/column-menu.d.ts +24 -0
  21. package/dist/ts/treegrid/actions/column-menu.ts +39 -0
  22. package/dist/ts/treegrid/actions/command-column.d.ts +24 -0
  23. package/dist/ts/treegrid/actions/command-column.ts +32 -0
  24. package/dist/ts/treegrid/actions/context-menu.d.ts +42 -0
  25. package/dist/ts/treegrid/actions/context-menu.ts +149 -0
  26. package/dist/ts/treegrid/actions/crud-actions.d.ts +66 -0
  27. package/dist/ts/treegrid/actions/crud-actions.ts +388 -0
  28. package/dist/ts/treegrid/actions/detail-row.d.ts +39 -0
  29. package/dist/ts/treegrid/actions/detail-row.ts +124 -0
  30. package/dist/ts/treegrid/actions/edit.d.ts +121 -0
  31. package/dist/ts/treegrid/actions/edit.ts +1083 -0
  32. package/dist/ts/treegrid/actions/excel-export.d.ts +67 -0
  33. package/dist/ts/treegrid/actions/excel-export.ts +240 -0
  34. package/dist/ts/treegrid/actions/filter.d.ts +57 -0
  35. package/dist/ts/treegrid/actions/filter.ts +231 -0
  36. package/dist/ts/treegrid/actions/freeze-column.d.ts +28 -0
  37. package/dist/ts/treegrid/actions/freeze-column.ts +119 -0
  38. package/dist/ts/treegrid/actions/index.d.ts +24 -0
  39. package/dist/ts/treegrid/actions/index.ts +24 -0
  40. package/dist/ts/treegrid/actions/infinite-scroll.d.ts +96 -0
  41. package/dist/ts/treegrid/actions/infinite-scroll.ts +320 -0
  42. package/dist/ts/treegrid/actions/logger.d.ts +25 -0
  43. package/dist/ts/treegrid/actions/logger.ts +136 -0
  44. package/dist/ts/treegrid/actions/page.d.ts +67 -0
  45. package/dist/ts/treegrid/actions/page.ts +212 -0
  46. package/dist/ts/treegrid/actions/pdf-export.d.ts +63 -0
  47. package/dist/ts/treegrid/actions/pdf-export.ts +182 -0
  48. package/dist/ts/treegrid/actions/print.d.ts +37 -0
  49. package/dist/ts/treegrid/actions/print.ts +69 -0
  50. package/dist/ts/treegrid/actions/reorder.d.ts +36 -0
  51. package/dist/ts/treegrid/actions/reorder.ts +60 -0
  52. package/dist/ts/treegrid/actions/resize.d.ts +36 -0
  53. package/dist/ts/treegrid/actions/resize.ts +54 -0
  54. package/dist/ts/treegrid/actions/rowdragdrop.d.ts +405 -0
  55. package/dist/ts/treegrid/actions/rowdragdrop.ts +1896 -0
  56. package/dist/ts/treegrid/actions/selection.d.ts +51 -0
  57. package/dist/ts/treegrid/actions/selection.ts +530 -0
  58. package/dist/ts/treegrid/actions/sort.d.ts +63 -0
  59. package/dist/ts/treegrid/actions/sort.ts +149 -0
  60. package/dist/ts/treegrid/actions/summary.d.ts +47 -0
  61. package/dist/ts/treegrid/actions/summary.ts +231 -0
  62. package/dist/ts/treegrid/actions/toolbar.d.ts +52 -0
  63. package/dist/ts/treegrid/actions/toolbar.ts +154 -0
  64. package/dist/ts/treegrid/actions/virtual-scroll.d.ts +90 -0
  65. package/dist/ts/treegrid/actions/virtual-scroll.ts +306 -0
  66. package/dist/ts/treegrid/base/constant.d.ts +158 -0
  67. package/dist/ts/treegrid/base/constant.ts +158 -0
  68. package/dist/ts/treegrid/base/data.d.ts +90 -0
  69. package/dist/ts/treegrid/base/data.ts +904 -0
  70. package/dist/ts/treegrid/base/index.d.ts +11 -0
  71. package/dist/ts/treegrid/base/index.ts +11 -0
  72. package/dist/ts/treegrid/base/interface.d.ts +186 -0
  73. package/dist/ts/treegrid/base/interface.ts +191 -0
  74. package/dist/ts/treegrid/base/treegrid-model.d.ts +1100 -0
  75. package/dist/ts/treegrid/base/treegrid.d.ts +2422 -0
  76. package/dist/ts/treegrid/base/treegrid.ts +5962 -0
  77. package/dist/ts/treegrid/enum.d.ts +152 -0
  78. package/dist/ts/treegrid/enum.ts +217 -0
  79. package/dist/ts/treegrid/index.d.ts +9 -0
  80. package/dist/ts/treegrid/index.ts +9 -0
  81. package/dist/ts/treegrid/models/column-chooser-settings-model.d.ts +62 -0
  82. package/dist/ts/treegrid/models/column-chooser-settings.d.ts +53 -0
  83. package/dist/ts/treegrid/models/column-chooser-settings.ts +67 -0
  84. package/dist/ts/treegrid/models/column-model.d.ts +30 -0
  85. package/dist/ts/treegrid/models/column.d.ts +697 -0
  86. package/dist/ts/treegrid/models/column.ts +800 -0
  87. package/dist/ts/treegrid/models/edit-settings-model.d.ts +100 -0
  88. package/dist/ts/treegrid/models/edit-settings.d.ts +89 -0
  89. package/dist/ts/treegrid/models/edit-settings.ts +111 -0
  90. package/dist/ts/treegrid/models/filter-settings-model.d.ts +216 -0
  91. package/dist/ts/treegrid/models/filter-settings.d.ts +195 -0
  92. package/dist/ts/treegrid/models/filter-settings.ts +237 -0
  93. package/dist/ts/treegrid/models/index.d.ts +24 -0
  94. package/dist/ts/treegrid/models/index.ts +24 -0
  95. package/dist/ts/treegrid/models/infinite-scroll-settings-model.d.ts +29 -0
  96. package/dist/ts/treegrid/models/infinite-scroll-settings.d.ts +25 -0
  97. package/dist/ts/treegrid/models/infinite-scroll-settings.ts +31 -0
  98. package/dist/ts/treegrid/models/loading-indicator-model.d.ts +21 -0
  99. package/dist/ts/treegrid/models/loading-indicator.d.ts +19 -0
  100. package/dist/ts/treegrid/models/loading-indicator.ts +21 -0
  101. package/dist/ts/treegrid/models/page-settings-model.d.ts +66 -0
  102. package/dist/ts/treegrid/models/page-settings.d.ts +57 -0
  103. package/dist/ts/treegrid/models/page-settings.ts +73 -0
  104. package/dist/ts/treegrid/models/rowdrop-settings-model.d.ts +15 -0
  105. package/dist/ts/treegrid/models/rowdrop-settings.d.ts +34 -0
  106. package/dist/ts/treegrid/models/rowdrop-settings.ts +37 -0
  107. package/dist/ts/treegrid/models/search-settings-model.d.ts +79 -0
  108. package/dist/ts/treegrid/models/search-settings.d.ts +73 -0
  109. package/dist/ts/treegrid/models/search-settings.ts +83 -0
  110. package/dist/ts/treegrid/models/selection-settings-model.d.ts +76 -0
  111. package/dist/ts/treegrid/models/selection-settings.d.ts +68 -0
  112. package/dist/ts/treegrid/models/selection-settings.ts +82 -0
  113. package/dist/ts/treegrid/models/sort-settings-model.d.ts +49 -0
  114. package/dist/ts/treegrid/models/sort-settings.d.ts +43 -0
  115. package/dist/ts/treegrid/models/sort-settings.ts +51 -0
  116. package/dist/ts/treegrid/models/summary-model.d.ts +93 -0
  117. package/dist/ts/treegrid/models/summary.d.ts +126 -0
  118. package/dist/ts/treegrid/models/summary.ts +170 -0
  119. package/dist/ts/treegrid/models/textwrap-settings-model.d.ts +21 -0
  120. package/dist/ts/treegrid/models/textwrap-settings.d.ts +19 -0
  121. package/dist/ts/treegrid/models/textwrap-settings.ts +21 -0
  122. package/dist/ts/treegrid/renderer/index.d.ts +5 -0
  123. package/dist/ts/treegrid/renderer/index.ts +5 -0
  124. package/dist/ts/treegrid/renderer/render.d.ts +41 -0
  125. package/dist/ts/treegrid/renderer/render.ts +379 -0
  126. package/dist/ts/treegrid/renderer/virtual-row-model-generator.d.ts +16 -0
  127. package/dist/ts/treegrid/renderer/virtual-row-model-generator.ts +90 -0
  128. package/dist/ts/treegrid/renderer/virtual-tree-content-render.d.ts +353 -0
  129. package/dist/ts/treegrid/renderer/virtual-tree-content-render.ts +1125 -0
  130. package/dist/ts/treegrid/utils.d.ts +70 -0
  131. package/dist/ts/treegrid/utils.ts +217 -0
  132. package/package.json +51 -15
  133. package/src/treegrid/actions/context-menu.js +3 -1
  134. package/src/treegrid/actions/excel-export.d.ts +8 -0
  135. package/src/treegrid/actions/excel-export.js +13 -1
  136. package/src/treegrid/actions/freeze-column.js +1 -1
  137. package/src/treegrid/actions/pdf-export.d.ts +8 -0
  138. package/src/treegrid/actions/pdf-export.js +12 -0
  139. package/src/treegrid/actions/selection.js +1 -1
  140. package/src/treegrid/actions/virtual-scroll.js +2 -2
  141. package/src/treegrid/base/data.js +1 -1
  142. package/src/treegrid/base/treegrid-model.d.ts +32 -2
  143. package/src/treegrid/base/treegrid.d.ts +29 -2
  144. package/src/treegrid/base/treegrid.js +39 -2
  145. package/src/treegrid/models/column-chooser-settings-model.d.ts +62 -0
  146. package/src/treegrid/models/column-chooser-settings.d.ts +53 -0
  147. package/src/treegrid/models/column-chooser-settings.js +52 -0
  148. package/src/treegrid/renderer/virtual-tree-content-render.js +4 -9
  149. package/src/treegrid/utils.js +22 -6
@@ -0,0 +1,100 @@
1
+ import { ChildProperty, Property } from '@syncfusion/ej2-base';import { EditMode, RowPosition } from '../enum';import { IDialogUI } from '@syncfusion/ej2-grids';
2
+
3
+ /**
4
+ * Interface for a class EditSettings
5
+ */
6
+ export interface EditSettingsModel {
7
+
8
+ /**
9
+ * Enables the ability to add new records to the TreeGrid when set to `true`.
10
+ * This allows users to insert new rows into the data set.
11
+ *
12
+ * @default false
13
+ */
14
+ allowAdding?: boolean;
15
+
16
+ /**
17
+ * Permits updating values in existing records if set to `true`.
18
+ * This setting allows inline modification of data cells within the TreeGrid.
19
+ *
20
+ * @default false
21
+ */
22
+ allowEditing?: boolean;
23
+
24
+ /**
25
+ * Allows removal of records from the TreeGrid when set to `true`.
26
+ * Users can delete rows from the data set, reflecting changes immediately.
27
+ *
28
+ * @default false
29
+ */
30
+ allowDeleting?: boolean;
31
+
32
+ /**
33
+ * Specifies the editing mode for the TreeGrid. Available modes include:
34
+ * * `Cell`: Enables individual cell editing.
35
+ * * `Row`: Allows entire row editing at once.
36
+ * * `Dialog`: Opens a dialog for row editing.
37
+ * * `Batch`: Supports batch editing of cells across multiple rows. Changes are not immediately saved but can be committed all at once, enhancing efficiency in bulk data edits.
38
+ *
39
+ * @default Cell
40
+ * @isEnumeration true
41
+ */
42
+ mode?: EditMode;
43
+
44
+ /**
45
+ * Determines the position where new rows are added within the TreeGrid. Options are:
46
+ * * `Top`: Adds new rows at the top of the grid.
47
+ * * `Bottom`: Adds new rows at the bottom of the grid.
48
+ * * `Above`: Inserts a new row above the selected row.
49
+ * * `Below`: Adds a new row below the selected row.
50
+ * * `Child`: Inserts a new row as a child of the currently selected row.
51
+ *
52
+ * @default Top
53
+ */
54
+ newRowPosition?: RowPosition;
55
+
56
+ /**
57
+ * If set to `false`, prevents editing on a row double-click, allowing edits through other triggers only.
58
+ *
59
+ * @default true
60
+ */
61
+ allowEditOnDblClick?: boolean;
62
+
63
+ /**
64
+ * Controls the display of a confirmation dialog when batch changes are either applied or discarded.
65
+ * Set to `false` to suppress the display of this confirmation prompt.
66
+ *
67
+ * @default true
68
+ */
69
+ showConfirmDialog?: boolean;
70
+
71
+ /**
72
+ * If set to `true`, a confirmation dialog appears before record deletion, allowing users to confirm or cancel the operation.
73
+ *
74
+ * @default false
75
+ */
76
+ showDeleteConfirmDialog?: boolean;
77
+
78
+ /**
79
+ * Provides a template for custom editing elements within the dialog, supporting both HTML strings and functions.
80
+ *
81
+ * @default ''
82
+ * @aspType string
83
+ */
84
+ template?: string | Function;
85
+
86
+ /**
87
+ * Specifies the parameters for customizing the edit dialog, allowing the configuration of elements and behavior.
88
+ *
89
+ * @default {}
90
+ */
91
+ dialog?: IDialogUI;
92
+
93
+ /**
94
+ * Enables continued editing in subsequent rows when navigating with keyboard shortcuts if set to `true`.
95
+ *
96
+ * @default false
97
+ */
98
+ allowNextRowEdit?: boolean;
99
+
100
+ }
@@ -0,0 +1,89 @@
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, defining how records can be added, modified, or deleted.
6
+ */
7
+ export declare class EditSettings extends ChildProperty<EditSettings> {
8
+ /**
9
+ * Enables the ability to add new records to the TreeGrid when set to `true`.
10
+ * This allows users to insert new rows into the data set.
11
+ *
12
+ * @default false
13
+ */
14
+ allowAdding: boolean;
15
+ /**
16
+ * Permits updating values in existing records if set to `true`.
17
+ * This setting allows inline modification of data cells within the TreeGrid.
18
+ *
19
+ * @default false
20
+ */
21
+ allowEditing: boolean;
22
+ /**
23
+ * Allows removal of records from the TreeGrid when set to `true`.
24
+ * Users can delete rows from the data set, reflecting changes immediately.
25
+ *
26
+ * @default false
27
+ */
28
+ allowDeleting: boolean;
29
+ /**
30
+ * Specifies the editing mode for the TreeGrid. Available modes include:
31
+ * * `Cell`: Enables individual cell editing.
32
+ * * `Row`: Allows entire row editing at once.
33
+ * * `Dialog`: Opens a dialog for row editing.
34
+ * * `Batch`: Supports batch editing of cells across multiple rows. Changes are not immediately saved but can be committed all at once, enhancing efficiency in bulk data edits.
35
+ *
36
+ * @default Cell
37
+ * @isEnumeration true
38
+ */
39
+ mode: EditMode;
40
+ /**
41
+ * Determines the position where new rows are added within the TreeGrid. Options are:
42
+ * * `Top`: Adds new rows at the top of the grid.
43
+ * * `Bottom`: Adds new rows at the bottom of the grid.
44
+ * * `Above`: Inserts a new row above the selected row.
45
+ * * `Below`: Adds a new row below the selected row.
46
+ * * `Child`: Inserts a new row as a child of the currently selected row.
47
+ *
48
+ * @default Top
49
+ */
50
+ newRowPosition: RowPosition;
51
+ /**
52
+ * If set to `false`, prevents editing on a row double-click, allowing edits through other triggers only.
53
+ *
54
+ * @default true
55
+ */
56
+ allowEditOnDblClick: boolean;
57
+ /**
58
+ * Controls the display of a confirmation dialog when batch changes are either applied or discarded.
59
+ * Set to `false` to suppress the display of this confirmation prompt.
60
+ *
61
+ * @default true
62
+ */
63
+ showConfirmDialog: boolean;
64
+ /**
65
+ * If set to `true`, a confirmation dialog appears before record deletion, allowing users to confirm or cancel the operation.
66
+ *
67
+ * @default false
68
+ */
69
+ showDeleteConfirmDialog: boolean;
70
+ /**
71
+ * Provides a template for custom editing elements within the dialog, supporting both HTML strings and functions.
72
+ *
73
+ * @default ''
74
+ * @aspType string
75
+ */
76
+ template: string | Function;
77
+ /**
78
+ * Specifies the parameters for customizing the edit dialog, allowing the configuration of elements and behavior.
79
+ *
80
+ * @default {}
81
+ */
82
+ dialog: IDialogUI;
83
+ /**
84
+ * Enables continued editing in subsequent rows when navigating with keyboard shortcuts if set to `true`.
85
+ *
86
+ * @default false
87
+ */
88
+ allowNextRowEdit: boolean;
89
+ }
@@ -0,0 +1,111 @@
1
+ import { ChildProperty, Property } from '@syncfusion/ej2-base';
2
+ import { EditMode, RowPosition } from '../enum';
3
+ import { IDialogUI } from '@syncfusion/ej2-grids';
4
+
5
+ /**
6
+ * Configures the edit behavior of the TreeGrid, defining how records can be added, modified, or deleted.
7
+ */
8
+ export class EditSettings extends ChildProperty<EditSettings> {
9
+ /**
10
+ * Enables the ability to add new records to the TreeGrid when set to `true`.
11
+ * This allows users to insert new rows into the data set.
12
+ *
13
+ * @default false
14
+ */
15
+ @Property(false)
16
+ public allowAdding: boolean;
17
+
18
+ /**
19
+ * Permits updating values in existing records if set to `true`.
20
+ * This setting allows inline modification of data cells within the TreeGrid.
21
+ *
22
+ * @default false
23
+ */
24
+ @Property(false)
25
+ public allowEditing: boolean;
26
+
27
+ /**
28
+ * Allows removal of records from the TreeGrid when set to `true`.
29
+ * Users can delete rows from the data set, reflecting changes immediately.
30
+ *
31
+ * @default false
32
+ */
33
+ @Property(false)
34
+ public allowDeleting: boolean;
35
+
36
+ /**
37
+ * Specifies the editing mode for the TreeGrid. Available modes include:
38
+ * * `Cell`: Enables individual cell editing.
39
+ * * `Row`: Allows entire row editing at once.
40
+ * * `Dialog`: Opens a dialog for row editing.
41
+ * * `Batch`: Supports batch editing of cells across multiple rows. Changes are not immediately saved but can be committed all at once, enhancing efficiency in bulk data edits.
42
+ *
43
+ * @default Cell
44
+ * @isEnumeration true
45
+ */
46
+ @Property('Cell')
47
+ public mode: EditMode;
48
+
49
+ /**
50
+ * Determines the position where new rows are added within the TreeGrid. Options are:
51
+ * * `Top`: Adds new rows at the top of the grid.
52
+ * * `Bottom`: Adds new rows at the bottom of the grid.
53
+ * * `Above`: Inserts a new row above the selected row.
54
+ * * `Below`: Adds a new row below the selected row.
55
+ * * `Child`: Inserts a new row as a child of the currently selected row.
56
+ *
57
+ * @default Top
58
+ */
59
+ @Property('Top')
60
+ public newRowPosition: RowPosition;
61
+
62
+ /**
63
+ * If set to `false`, prevents editing on a row double-click, allowing edits through other triggers only.
64
+ *
65
+ * @default true
66
+ */
67
+ @Property(true)
68
+ public allowEditOnDblClick: boolean;
69
+
70
+ /**
71
+ * Controls the display of a confirmation dialog when batch changes are either applied or discarded.
72
+ * Set to `false` to suppress the display of this confirmation prompt.
73
+ *
74
+ * @default true
75
+ */
76
+ @Property(true)
77
+ public showConfirmDialog: boolean;
78
+
79
+ /**
80
+ * If set to `true`, a confirmation dialog appears before record deletion, allowing users to confirm or cancel the operation.
81
+ *
82
+ * @default false
83
+ */
84
+ @Property(false)
85
+ public showDeleteConfirmDialog: boolean;
86
+
87
+ /**
88
+ * Provides a template for custom editing elements within the dialog, supporting both HTML strings and functions.
89
+ *
90
+ * @default ''
91
+ * @aspType string
92
+ */
93
+ @Property('')
94
+ public template: string | Function;
95
+
96
+ /**
97
+ * Specifies the parameters for customizing the edit dialog, allowing the configuration of elements and behavior.
98
+ *
99
+ * @default {}
100
+ */
101
+ @Property({})
102
+ public dialog: IDialogUI;
103
+
104
+ /**
105
+ * Enables continued editing in subsequent rows when navigating with keyboard shortcuts if set to `true`.
106
+ *
107
+ * @default false
108
+ */
109
+ @Property(false)
110
+ public allowNextRowEdit: boolean;
111
+ }
@@ -0,0 +1,216 @@
1
+ import { Collection, Property, ChildProperty } from '@syncfusion/ej2-base';import { ICustomOptr, FilterBarMode, FilterType } from '@syncfusion/ej2-grids';import { FilterHierarchyMode } from '../enum';
2
+
3
+ /**
4
+ * Interface for a class Predicate
5
+ */
6
+ export interface PredicateModel {
7
+
8
+ /**
9
+ * Specifies the field name of the column to apply the filter on.
10
+ *
11
+ * @default ''
12
+ */
13
+ field?: string;
14
+
15
+ /**
16
+ * Specifies the operator used for filtering TreeGrid records. The available operators support a variety of data types
17
+ * and offer different filtering mechanisms. Details for each operator are provided below:
18
+ * <table>
19
+ * <tr>
20
+ * <td colspan=1 rowspan=1>
21
+ * Operator<br/></td><td colspan=1 rowspan=1>
22
+ * Description<br/></td><td colspan=1 rowspan=1>
23
+ * Supported Data Types<br/></td></tr>
24
+ * <tr>
25
+ * <td colspan=1 rowspan=1>
26
+ * startswith<br/></td><td colspan=1 rowspan=1>
27
+ * Checks if the value starts with the specified input.<br/></td><td colspan=1 rowspan=1>
28
+ * String<br/></td></tr>
29
+ * <tr>
30
+ * <td colspan=1 rowspan=1>
31
+ * endswith<br/></td><td colspan=1 rowspan=1>
32
+ * Checks if the value ends with the specified input.<br/><br/></td><td colspan=1 rowspan=1>
33
+ * <br/>String<br/></td></tr>
34
+ * <tr>
35
+ * <td colspan=1 rowspan=1>
36
+ * contains<br/></td><td colspan=1 rowspan=1>
37
+ * Checks if the value contains the specified input anywhere within it.<br/><br/></td><td colspan=1 rowspan=1>
38
+ * <br/>String<br/></td></tr>
39
+ * <tr>
40
+ * <td colspan=1 rowspan=1>
41
+ * equal<br/></td><td colspan=1 rowspan=1>
42
+ * Checks if the value is exactly equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
43
+ * <br/>String | Number | Boolean | Date<br/></td></tr>
44
+ * <tr>
45
+ * <td colspan=1 rowspan=1>
46
+ * notequal<br/></td><td colspan=1 rowspan=1>
47
+ * Identifies values that are not equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
48
+ * <br/>String | Number | Boolean | Date<br/></td></tr>
49
+ * <tr>
50
+ * <td colspan=1 rowspan=1>
51
+ * greaterthan<br/></td><td colspan=1 rowspan=1>
52
+ * Verifies if the value is greater than the specified input.<br/><br/></td><td colspan=1 rowspan=1>
53
+ * Number | Date<br/></td></tr>
54
+ * <tr>
55
+ * <td colspan=1 rowspan=1>
56
+ * greaterthanorequal<br/></td><td colspan=1 rowspan=1>
57
+ * Verifies if the value is greater than or equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
58
+ * <br/>Number | Date<br/></td></tr>
59
+ * <tr>
60
+ * <td colspan=1 rowspan=1>
61
+ * lessthan<br/></td><td colspan=1 rowspan=1>
62
+ * Checks if the value is less than the specified input.<br/><br/></td><td colspan=1 rowspan=1>
63
+ * <br/>Number | Date<br/></td></tr>
64
+ * <tr>
65
+ * <td colspan=1 rowspan=1>
66
+ * lessthanorequal<br/></td><td colspan=1 rowspan=1>
67
+ * Checks if the value is less than or equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
68
+ * <br/>Number | Date<br/></td></tr>
69
+ * </table>
70
+ *
71
+ * @default null
72
+ */
73
+ operator?: string;
74
+
75
+ /**
76
+ * Specifies the value to filter the column's data by.
77
+ *
78
+ * @default ''
79
+ */
80
+ value?: string | number | Date | boolean;
81
+
82
+ /**
83
+ * Applies case-sensitive filtering if set to `true`. When false, filtering is case-insensitive.
84
+ *
85
+ * @default null
86
+ */
87
+ matchCase?: boolean;
88
+
89
+ /**
90
+ * Ignores diacritic characters during filtering if set to `true`.
91
+ *
92
+ * @default false
93
+ */
94
+ ignoreAccent?: boolean;
95
+
96
+ /**
97
+ * Defines the logical relationship between multiple filter conditions ('AND' / 'OR').
98
+ *
99
+ * @default null
100
+ */
101
+ predicate?: string;
102
+
103
+ /**
104
+ * @hidden
105
+ * Holds the actual value used for filtering the column.
106
+ */
107
+ actualFilterValue?: Object;
108
+
109
+ /**
110
+ * @hidden
111
+ * Represents the actual filter operator applied to the column.
112
+ */
113
+ actualOperator?: Object;
114
+
115
+ /**
116
+ * @hidden
117
+ * Defines the data type of the filter column.
118
+ */
119
+ type?: string;
120
+
121
+ /**
122
+ * @hidden
123
+ * Represents the internal predicate condition for the filter column.
124
+ */
125
+ ejpredicate?: Object;
126
+
127
+ /**
128
+ * @hidden
129
+ * Unique identifier for the filter column.
130
+ */
131
+ uid?: string;
132
+
133
+ /**
134
+ * @hidden
135
+ * Indicates whether the column is a foreign key in the filter set.
136
+ */
137
+ isForeignKey?: boolean;
138
+
139
+ }
140
+
141
+ /**
142
+ * Interface for a class FilterSettings
143
+ */
144
+ export interface FilterSettingsModel {
145
+
146
+ /**
147
+ * Specifies the initial filter configuration for TreeGrid columns or retrieves the current filter state.
148
+ *
149
+ * @default []
150
+ */
151
+ columns?: PredicateModel[];
152
+
153
+ /**
154
+ * Sets the filtering interface type. Options include:
155
+ * * `Menu`: Provides a menu for filtering options.
156
+ * * `FilterBar`: Allows direct input filtering in a bar at the top of each column.
157
+ * * `Excel` : Specifies the filter type as excel.
158
+ * * `CheckBox` : Specifies the filter type as check box.
159
+ *
160
+ * @default FilterBar
161
+ */
162
+ type?: FilterType;
163
+
164
+ /**
165
+ * Determines the mode of the filter bar operation. Options include:
166
+ * * `OnEnter`: Filtering is triggered upon pressing the Enter key.
167
+ * * `Immediate`: Filtering occurs after a short delay automatically.
168
+ *
169
+ * @default Syncfusion.EJ2.Grids.FilterBarMode.OnEnter
170
+ * @isEnumeration true
171
+ * @aspType Syncfusion.EJ2.Grids.FilterBarMode
172
+ */
173
+ mode?: FilterBarMode;
174
+
175
+ /**
176
+ * Shows or hides the status message related to filtering actions on the pager.
177
+ *
178
+ * @default true
179
+ */
180
+ showFilterBarStatus?: boolean;
181
+
182
+ /**
183
+ * Determines the delay in milliseconds before filtering is triggered in `Immediate` mode.
184
+ *
185
+ * @default 1500
186
+ */
187
+ immediateModeDelay?: number;
188
+
189
+ /**
190
+ * Allows customization of the default operators offered in the filter menu by defining custom operators for string, number, date, and boolean types.
191
+ *
192
+ * @default null
193
+ */
194
+ operators?: ICustomOptr;
195
+
196
+ /**
197
+ * If set to `true`, filtering ignores accent characters, making diacritic characters identical to their unaccented versions.
198
+ *
199
+ * @default false
200
+ */
201
+ ignoreAccent?: boolean;
202
+
203
+ /**
204
+ * Specifies how the hierarchy should be maintained during filtering:
205
+ * * `Parent`: Displays the filtered records along with their parent records.
206
+ * * `Child`: Displays the filtered records along with their child records.
207
+ * * `Both`: Displays the filtered records with both parent and child records.
208
+ * * `None`: Only displays the filtered records.
209
+ *
210
+ * @default Parent
211
+ * @isEnumeration true
212
+ * @aspType FilterHierarchyMode
213
+ */
214
+ hierarchyMode?: FilterHierarchyMode;
215
+
216
+ }