@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.
Files changed (283) hide show
  1. package/.eslintrc.json +243 -259
  2. package/README.md +83 -83
  3. package/dist/ej2-treegrid.min.js +1 -10
  4. package/dist/ej2-treegrid.umd.min.js +1 -10
  5. package/dist/ej2-treegrid.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-treegrid.es2015.js +698 -530
  7. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  8. package/dist/es6/ej2-treegrid.es5.js +1215 -1046
  9. package/dist/es6/ej2-treegrid.es5.js.map +1 -1
  10. package/dist/global/ej2-treegrid.min.js +1 -10
  11. package/dist/global/ej2-treegrid.min.js.map +1 -1
  12. package/dist/global/index.d.ts +0 -9
  13. package/dist/ts/undefined +602 -0
  14. package/license +9 -9
  15. package/package.json +70 -70
  16. package/src/treegrid/actions/clipboard.js +13 -13
  17. package/src/treegrid/actions/edit.js +8 -7
  18. package/src/treegrid/actions/excel-export.js +4 -3
  19. package/src/treegrid/actions/logger.js +13 -13
  20. package/src/treegrid/actions/page.js +4 -0
  21. package/src/treegrid/actions/rowdragdrop.js +25 -14
  22. package/src/treegrid/actions/selection.js +4 -1
  23. package/src/treegrid/actions/virtual-scroll.js +13 -13
  24. package/src/treegrid/base/constant.js +2 -0
  25. package/src/treegrid/base/data.js +2 -1
  26. package/src/treegrid/base/interface.js +0 -1
  27. package/src/treegrid/base/treegrid-model.d.ts +875 -875
  28. package/src/treegrid/base/treegrid.js +260 -92
  29. package/src/treegrid/models/column-model.d.ts +6 -6
  30. package/src/treegrid/models/column.js +19 -19
  31. package/src/treegrid/models/edit-settings-model.d.ts +72 -72
  32. package/src/treegrid/models/edit-settings.js +19 -19
  33. package/src/treegrid/models/filter-settings-model.d.ts +206 -206
  34. package/src/treegrid/models/filter-settings.js +19 -19
  35. package/src/treegrid/models/infinite-scroll-settings-model.d.ts +16 -16
  36. package/src/treegrid/models/infinite-scroll-settings.js +19 -19
  37. package/src/treegrid/models/loading-indicator.js +19 -19
  38. package/src/treegrid/models/page-settings-model.d.ts +46 -46
  39. package/src/treegrid/models/page-settings.js +19 -19
  40. package/src/treegrid/models/rowdrop-settings-model.d.ts +6 -6
  41. package/src/treegrid/models/rowdrop-settings.js +19 -19
  42. package/src/treegrid/models/search-settings-model.d.ts +60 -60
  43. package/src/treegrid/models/search-settings.js +19 -19
  44. package/src/treegrid/models/selection-settings-model.d.ts +66 -66
  45. package/src/treegrid/models/selection-settings.js +19 -19
  46. package/src/treegrid/models/sort-settings-model.d.ts +24 -24
  47. package/src/treegrid/models/sort-settings.js +19 -19
  48. package/src/treegrid/models/summary-model.d.ts +64 -64
  49. package/src/treegrid/models/summary.js +19 -19
  50. package/src/treegrid/models/textwrap-settings-model.d.ts +9 -9
  51. package/src/treegrid/models/textwrap-settings.js +19 -19
  52. package/src/treegrid/renderer/virtual-row-model-generator.js +15 -15
  53. package/src/treegrid/renderer/virtual-tree-content-render.js +15 -14
  54. package/styles/bds-lite.css +745 -0
  55. package/styles/bds-lite.scss +18 -0
  56. package/styles/bds.css +765 -0
  57. package/styles/bds.scss +19 -0
  58. package/styles/bootstrap-dark-lite.css +506 -0
  59. package/styles/bootstrap-dark-lite.scss +18 -0
  60. package/styles/bootstrap-dark.css +187 -117
  61. package/styles/bootstrap-dark.scss +19 -1
  62. package/styles/bootstrap-lite.css +509 -0
  63. package/styles/bootstrap-lite.scss +18 -0
  64. package/styles/bootstrap.css +190 -121
  65. package/styles/bootstrap.scss +19 -1
  66. package/styles/bootstrap4-lite.css +550 -0
  67. package/styles/bootstrap4-lite.scss +18 -0
  68. package/styles/bootstrap4.css +194 -133
  69. package/styles/bootstrap4.scss +19 -1
  70. package/styles/bootstrap5-dark-lite.css +545 -0
  71. package/styles/bootstrap5-dark-lite.scss +18 -0
  72. package/styles/bootstrap5-dark.css +189 -123
  73. package/styles/bootstrap5-dark.scss +19 -1
  74. package/styles/bootstrap5-lite.css +545 -0
  75. package/styles/bootstrap5-lite.scss +18 -0
  76. package/styles/bootstrap5.3-lite.css +1637 -0
  77. package/styles/bootstrap5.3-lite.scss +18 -0
  78. package/styles/bootstrap5.3.css +1657 -0
  79. package/styles/bootstrap5.3.scss +19 -0
  80. package/styles/bootstrap5.css +188 -122
  81. package/styles/bootstrap5.scss +19 -1
  82. package/styles/fabric-dark-lite.css +485 -0
  83. package/styles/fabric-dark-lite.scss +18 -0
  84. package/styles/fabric-dark.css +188 -118
  85. package/styles/fabric-dark.scss +19 -1
  86. package/styles/fabric-lite.css +485 -0
  87. package/styles/fabric-lite.scss +18 -0
  88. package/styles/fabric.css +188 -111
  89. package/styles/fabric.scss +19 -1
  90. package/styles/fluent-dark-lite.css +548 -0
  91. package/styles/fluent-dark-lite.scss +18 -0
  92. package/styles/fluent-dark.css +195 -116
  93. package/styles/fluent-dark.scss +19 -1
  94. package/styles/fluent-lite.css +548 -0
  95. package/styles/fluent-lite.scss +18 -0
  96. package/styles/fluent.css +195 -116
  97. package/styles/fluent.scss +19 -1
  98. package/styles/fluent2-lite.css +1856 -0
  99. package/styles/fluent2-lite.scss +18 -0
  100. package/styles/fluent2.css +1879 -0
  101. package/styles/fluent2.scss +19 -0
  102. package/styles/highcontrast-light-lite.css +491 -0
  103. package/styles/highcontrast-light-lite.scss +18 -0
  104. package/styles/highcontrast-light.css +185 -103
  105. package/styles/highcontrast-light.scss +19 -1
  106. package/styles/highcontrast-lite.css +498 -0
  107. package/styles/highcontrast-lite.scss +18 -0
  108. package/styles/highcontrast.css +196 -107
  109. package/styles/highcontrast.scss +19 -1
  110. package/styles/material-dark-lite.css +567 -0
  111. package/styles/material-dark-lite.scss +18 -0
  112. package/styles/material-dark.css +220 -105
  113. package/styles/material-dark.scss +19 -1
  114. package/styles/material-lite.css +591 -0
  115. package/styles/material-lite.scss +18 -0
  116. package/styles/material.css +234 -129
  117. package/styles/material.scss +19 -1
  118. package/styles/material3-dark-lite.css +1666 -0
  119. package/styles/material3-dark-lite.scss +18 -0
  120. package/styles/material3-dark.css +1310 -187
  121. package/styles/material3-dark.scss +19 -1
  122. package/styles/material3-lite.css +1668 -0
  123. package/styles/material3-lite.scss +18 -0
  124. package/styles/material3.css +1311 -242
  125. package/styles/material3.scss +19 -1
  126. package/styles/tailwind-dark-lite.css +518 -0
  127. package/styles/tailwind-dark-lite.scss +18 -0
  128. package/styles/tailwind-dark.css +196 -103
  129. package/styles/tailwind-dark.scss +19 -1
  130. package/styles/tailwind-lite.css +518 -0
  131. package/styles/tailwind-lite.scss +18 -0
  132. package/styles/tailwind.css +196 -103
  133. package/styles/tailwind.scss +19 -1
  134. package/styles/tailwind3-lite.css +1697 -0
  135. package/styles/tailwind3-lite.scss +18 -0
  136. package/styles/tailwind3.css +1717 -0
  137. package/styles/tailwind3.scss +19 -0
  138. package/styles/treegrid/_all.scss +2 -2
  139. package/styles/treegrid/_bds-definition.scss +49 -28
  140. package/styles/treegrid/_bigger.scss +66 -0
  141. package/styles/treegrid/_bootstrap-dark-definition.scss +54 -30
  142. package/styles/treegrid/_bootstrap-definition.scss +54 -30
  143. package/styles/treegrid/_bootstrap4-definition.scss +54 -30
  144. package/styles/treegrid/_bootstrap5-definition.scss +49 -28
  145. package/styles/treegrid/_bootstrap5.3-definition.scss +49 -0
  146. package/styles/treegrid/_fabric-dark-definition.scss +54 -30
  147. package/styles/treegrid/_fabric-definition.scss +54 -30
  148. package/styles/treegrid/_fluent-definition.scss +50 -29
  149. package/styles/treegrid/_fluent2-definition.scss +49 -0
  150. package/styles/treegrid/_fusionnew-definition.scss +49 -28
  151. package/styles/treegrid/_highcontrast-definition.scss +54 -30
  152. package/styles/treegrid/_highcontrast-light-definition.scss +54 -30
  153. package/styles/treegrid/_icons.scss +47 -37
  154. package/styles/treegrid/_layout.scss +530 -455
  155. package/styles/treegrid/_material-dark-definition.scss +54 -30
  156. package/styles/treegrid/_material-definition.scss +54 -30
  157. package/styles/treegrid/_material3-definition.scss +49 -28
  158. package/styles/treegrid/_tailwind-definition.scss +49 -28
  159. package/styles/treegrid/_tailwind3-definition.scss +49 -0
  160. package/styles/treegrid/_theme.scss +1 -1
  161. package/styles/treegrid/bds.css +765 -0
  162. package/styles/treegrid/bds.scss +19 -0
  163. package/styles/treegrid/bootstrap-dark.css +187 -117
  164. package/styles/treegrid/bootstrap-dark.scss +1 -0
  165. package/styles/treegrid/bootstrap.css +190 -121
  166. package/styles/treegrid/bootstrap.scss +1 -0
  167. package/styles/treegrid/bootstrap4.css +194 -133
  168. package/styles/treegrid/bootstrap4.scss +1 -0
  169. package/styles/treegrid/bootstrap5-dark.css +189 -123
  170. package/styles/treegrid/bootstrap5-dark.scss +1 -0
  171. package/styles/treegrid/bootstrap5.3.css +1657 -0
  172. package/styles/treegrid/bootstrap5.3.scss +19 -0
  173. package/styles/treegrid/bootstrap5.css +188 -122
  174. package/styles/treegrid/bootstrap5.scss +1 -0
  175. package/styles/treegrid/fabric-dark.css +188 -118
  176. package/styles/treegrid/fabric-dark.scss +1 -0
  177. package/styles/treegrid/fabric.css +188 -111
  178. package/styles/treegrid/fabric.scss +1 -0
  179. package/styles/treegrid/fluent-dark.css +195 -116
  180. package/styles/treegrid/fluent-dark.scss +1 -0
  181. package/styles/treegrid/fluent.css +195 -116
  182. package/styles/treegrid/fluent.scss +1 -0
  183. package/styles/treegrid/fluent2.css +1879 -0
  184. package/styles/treegrid/fluent2.scss +19 -0
  185. package/styles/treegrid/highcontrast-light.css +185 -103
  186. package/styles/treegrid/highcontrast-light.scss +1 -0
  187. package/styles/treegrid/highcontrast.css +196 -107
  188. package/styles/treegrid/highcontrast.scss +1 -0
  189. package/styles/treegrid/icons/_bds.scss +37 -37
  190. package/styles/treegrid/icons/_bootstrap-dark.scss +47 -37
  191. package/styles/treegrid/icons/_bootstrap.scss +47 -37
  192. package/styles/treegrid/icons/_bootstrap4.scss +47 -37
  193. package/styles/treegrid/icons/_bootstrap5.3.scss +47 -0
  194. package/styles/treegrid/icons/_bootstrap5.scss +47 -37
  195. package/styles/treegrid/icons/_fabric-dark.scss +47 -37
  196. package/styles/treegrid/icons/_fabric.scss +47 -37
  197. package/styles/treegrid/icons/_fluent.scss +47 -37
  198. package/styles/treegrid/icons/_fluent2.scss +47 -0
  199. package/styles/treegrid/icons/_fusionnew.scss +30 -26
  200. package/styles/treegrid/icons/_highcontrast-light.scss +47 -37
  201. package/styles/treegrid/icons/_highcontrast.scss +47 -37
  202. package/styles/treegrid/icons/_material-dark.scss +47 -37
  203. package/styles/treegrid/icons/_material.scss +47 -37
  204. package/styles/treegrid/icons/_material3.scss +47 -37
  205. package/styles/treegrid/icons/_tailwind-dark.scss +47 -37
  206. package/styles/treegrid/icons/_tailwind.scss +47 -37
  207. package/styles/treegrid/icons/_tailwind3.scss +47 -0
  208. package/styles/treegrid/material-dark.css +220 -105
  209. package/styles/treegrid/material-dark.scss +1 -0
  210. package/styles/treegrid/material.css +234 -129
  211. package/styles/treegrid/material.scss +1 -0
  212. package/styles/treegrid/material3-dark.css +1310 -187
  213. package/styles/treegrid/material3-dark.scss +2 -1
  214. package/styles/treegrid/material3.css +1311 -242
  215. package/styles/treegrid/material3.scss +2 -1
  216. package/styles/treegrid/tailwind-dark.css +196 -103
  217. package/styles/treegrid/tailwind-dark.scss +1 -0
  218. package/styles/treegrid/tailwind.css +196 -103
  219. package/styles/treegrid/tailwind.scss +1 -0
  220. package/styles/treegrid/tailwind3.css +1717 -0
  221. package/styles/treegrid/tailwind3.scss +19 -0
  222. package/CHANGELOG.md +0 -264
  223. package/helpers/e2e/index.d.ts +0 -1
  224. package/helpers/e2e/index.js +0 -8
  225. package/helpers/e2e/treegridhelper.d.ts +0 -21
  226. package/helpers/e2e/treegridhelper.js +0 -83
  227. package/index.d.ts +0 -4
  228. package/index.js +0 -4
  229. package/src/index.d.ts +0 -4
  230. package/src/treegrid/actions/batch-edit.d.ts +0 -73
  231. package/src/treegrid/actions/clipboard.d.ts +0 -36
  232. package/src/treegrid/actions/column-chooser.d.ts +0 -37
  233. package/src/treegrid/actions/column-menu.d.ts +0 -24
  234. package/src/treegrid/actions/command-column.d.ts +0 -24
  235. package/src/treegrid/actions/context-menu.d.ts +0 -42
  236. package/src/treegrid/actions/crud-actions.d.ts +0 -66
  237. package/src/treegrid/actions/detail-row.d.ts +0 -39
  238. package/src/treegrid/actions/edit.d.ts +0 -112
  239. package/src/treegrid/actions/excel-export.d.ts +0 -59
  240. package/src/treegrid/actions/filter.d.ts +0 -57
  241. package/src/treegrid/actions/freeze-column.d.ts +0 -28
  242. package/src/treegrid/actions/index.d.ts +0 -24
  243. package/src/treegrid/actions/infinite-scroll.d.ts +0 -96
  244. package/src/treegrid/actions/logger.d.ts +0 -25
  245. package/src/treegrid/actions/page.d.ts +0 -67
  246. package/src/treegrid/actions/pdf-export.d.ts +0 -55
  247. package/src/treegrid/actions/print.d.ts +0 -37
  248. package/src/treegrid/actions/reorder.d.ts +0 -36
  249. package/src/treegrid/actions/resize.d.ts +0 -36
  250. package/src/treegrid/actions/rowdragdrop.d.ts +0 -113
  251. package/src/treegrid/actions/selection.d.ts +0 -51
  252. package/src/treegrid/actions/sort.d.ts +0 -63
  253. package/src/treegrid/actions/summary.d.ts +0 -47
  254. package/src/treegrid/actions/toolbar.d.ts +0 -52
  255. package/src/treegrid/actions/virtual-scroll.d.ts +0 -53
  256. package/src/treegrid/base/constant.d.ts +0 -160
  257. package/src/treegrid/base/data.d.ts +0 -90
  258. package/src/treegrid/base/index.d.ts +0 -11
  259. package/src/treegrid/base/interface.d.ts +0 -182
  260. package/src/treegrid/base/treegrid.d.ts +0 -2186
  261. package/src/treegrid/enum.d.ts +0 -155
  262. package/src/treegrid/index.d.ts +0 -9
  263. package/src/treegrid/models/column.d.ts +0 -752
  264. package/src/treegrid/models/edit-settings.d.ts +0 -90
  265. package/src/treegrid/models/filter-settings.d.ts +0 -203
  266. package/src/treegrid/models/index.d.ts +0 -24
  267. package/src/treegrid/models/infinite-scroll-settings.d.ts +0 -25
  268. package/src/treegrid/models/loading-indicator.d.ts +0 -19
  269. package/src/treegrid/models/page-settings.d.ts +0 -60
  270. package/src/treegrid/models/rowdrop-settings.d.ts +0 -27
  271. package/src/treegrid/models/search-settings.d.ts +0 -71
  272. package/src/treegrid/models/selection-settings.d.ts +0 -79
  273. package/src/treegrid/models/sort-settings.d.ts +0 -40
  274. package/src/treegrid/models/summary.d.ts +0 -124
  275. package/src/treegrid/models/textwrap-settings.d.ts +0 -16
  276. package/src/treegrid/renderer/index.d.ts +0 -5
  277. package/src/treegrid/renderer/render.d.ts +0 -41
  278. package/src/treegrid/renderer/virtual-row-model-generator.d.ts +0 -16
  279. package/src/treegrid/renderer/virtual-tree-content-render.d.ts +0 -75
  280. package/src/treegrid/utils.d.ts +0 -70
  281. package/treegrid.d.ts +0 -4
  282. package/treegrid.js +0 -4
  283. 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
- }