@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
@@ -0,0 +1,19 @@
1
+ @import 'ej2-base/styles/definition/tailwind3.scss';
2
+ @import 'ej2-inputs/styles/input/tailwind3-definition.scss';
3
+ @import 'ej2-inputs/styles/numerictextbox/tailwind3-definition.scss';
4
+ @import 'ej2-buttons/styles/button/tailwind3-definition.scss';
5
+ @import 'ej2-buttons/styles/radio-button/tailwind3-definition.scss';
6
+ @import 'ej2-buttons/styles/check-box/tailwind3-definition.scss';
7
+ @import 'ej2-dropdowns/styles/auto-complete/tailwind3-definition.scss';
8
+ @import 'ej2-dropdowns/styles/drop-down-list/tailwind3-definition.scss';
9
+ @import 'ej2-popups/styles/dialog/tailwind3-definition.scss';
10
+ @import 'ej2-popups/styles/spinner/tailwind3-definition.scss';
11
+ @import 'ej2-popups/styles/tooltip/tailwind3-definition.scss';
12
+ @import 'ej2-calendars/styles/datepicker/tailwind3-definition.scss';
13
+ @import 'ej2-calendars/styles/datetimepicker/tailwind3-definition.scss';
14
+ @import 'ej2-navigations/styles/toolbar/tailwind3-definition.scss';
15
+ @import 'ej2-navigations/styles/context-menu/tailwind3-definition.scss';
16
+ @import 'tailwind3-definition.scss';
17
+ @import 'icons/tailwind3.scss';
18
+ @import 'all.scss';
19
+ @import 'bigger.scss';
package/CHANGELOG.md DELETED
@@ -1,264 +0,0 @@
1
- # Changelog
2
-
3
- ## [Unreleased]
4
-
5
- ### Tree Grid
6
-
7
- #### Bug Fixes
8
-
9
- - `#F56915` - Fixed an issue where adding an action while data is being fetched and re-rendered would throw a script error.
10
-
11
- ## 25.2.5 (2024-05-21)
12
-
13
- ### Tree Grid
14
-
15
- #### Bug Fixes
16
-
17
- - `#I585943` - Resolved border not showing on Row Drag and Drop when the height exceeds the current view port.
18
-
19
- ## 25.2.4 (2024-05-14)
20
-
21
- ### Tree Grid
22
-
23
- #### Bug Fixes
24
-
25
- - `#I585348` - Record gets disappeared when adding new record in last page issue has been fixed.
26
- - `#I575018` - Resolved `frozenColumns` with virtualization leads to missing records on scrolling.
27
- - `#F187800` - Resolved exception on passing the `collpaseRow` and `expandRow` method without parameters.
28
- - `#F53252` - Fixed issue where newly added row to the bottom was indented to the selected child record.
29
- - `#F53285` - Fixed issue where server request was not updated properly during export with filtering and sorting action in remote data.
30
- - `#F53846` - Fixed issue where unnecessary requests were being sent for custom local data source during excel export in remote data sample.
31
- - `#F53930` - Fixed a script error that occurred when navigating through cells using the keyboard after updating the state in the treegrid.
32
- - `#F54026` - Fixed a bug where a warning message was being thrown after injecting freeze modules when frozen was enabled.
33
-
34
- ## 25.1.42 (2024-04-30)
35
-
36
- ### Tree Grid
37
-
38
- #### Bug Fixes
39
-
40
- - `#I582383` - Fixed script error that occurred when reloading the page while using persistence along with frozen column in treegrid.
41
-
42
- ## 25.1.41 (2024-04-23)
43
-
44
- ### Tree Grid
45
-
46
- #### Bug Fixes
47
-
48
- - `#I578431` - Last page index issue in virtualization when adding new record after scrolling issue has been fixed.
49
- - `#I570787` - Fixed issue with Excel exporting in remote data with custom datasource.
50
- - `#I575019` - Resolved white space issue on scrolling to the bottom when virtualization enabled with `frozenColumns`.
51
- - `#I575021` - Resolved bottom scrolling issue when virtualization enabled with `frozenColumns` and column template.
52
- - `#I571916` - Resolved exception while showing tooltip when the `treeColumnIndex` greater than overall columns.
53
-
54
- ## 25.1.39 (2024-04-09)
55
-
56
- ### Tree Grid
57
-
58
- #### Bug Fixes
59
-
60
- - `#I558418` - Resolved data re-rendering on scrolling up in virtualization.
61
- - `#F187000` - Nested parent remains the expanded property when its root parent is collapsed in remote data with loadChildOnDemand.
62
- - `#I572093` - `onclick` event of button bound properly while creating a button component in treegrid with HtmlEncode enabled.
63
-
64
- ## 25.1.38 (2024-04-02)
65
-
66
- ### Tree Grid
67
-
68
- #### Bug Fixes
69
-
70
- - `#I560767` - Resolved exception on initial rendering with column template in remote data.
71
-
72
- ## 25.1.37 (2024-03-26)
73
-
74
- ### Tree Grid
75
-
76
- #### Bug Fixes
77
-
78
- - `#F187000` - Resolved exception when the dataSource and the columns were not defined.
79
- - `#I560889` - Added dropPosition in `RowDragEventArgs` of `rowDrop` event.
80
- - `#I567688` - Resolved exception on refreshing the browser when persistence enabled.
81
-
82
- ## 25.1.35 (2024-03-15)
83
-
84
- ### Tree Grid
85
-
86
- #### Bug Fixes
87
-
88
- - `#F50891` - Fixed issue where react template disappears in tree grid column while using `useState()`.
89
-
90
- ## 23.1.36 (2022-09-15)
91
-
92
- ### Tree Grid
93
-
94
- #### Features
95
-
96
- - `#I341079` - Provided support for exporting data to PDF, CSV, and Excel formats using server-side functionality. Please find the demo [here](https://ej2.syncfusion.com/aspnetcore/TreeGrid/ServerSideExporting#/material3).
97
-
98
- - Added support for the new `fixed` mode within the `freeze` property of column settings. When a column is set as `fixed`, it will stay within the viewport during horizontal scrolling, enhancing the user experience with improved visibility and efficiency.
99
-
100
- #### Breaking Changes
101
-
102
- - Optimized the frozen columns feature in Tree Grid and thus changed the dom structure of tree grid from two table to single table architecture. Also, the following methods have been removed, and it's recommended to use the following alternatives instead.
103
-
104
- | Removed methods | Suggested to use alternative methods |
105
- |----------|----------|
106
- | `getMoavableRows`, `getFrozenRightRows` | `getRows` |
107
- | `getMovableRowByIndex`, `getFrozenRowByIndex`, `getFrozenRightRowByIndex` | `getRowByIndex` |
108
- | `getMovableCellFromIndex`, `getFrozenRightCellFromIndex` | `getCellFromIndex` |
109
- | `getMovableDataRows`, `getFrozenRightDataRows`, `getFrozenDataRows` | `getDataRows` |
110
- | `getAllMovableDataRows`, `getAllFrozenDataRows`, `getAllFrozenRightDataRows` | `getAllDataRows` |
111
- | `getMovableColumnHeaderByIndex`, `getFrozenRightColumnHeaderByIndex`, `getFrozenLeftColumnHeaderByIndex` | `getColumnHeaderByIndex` |
112
- | `getFrozenRightHeader`, `getMovableHeader` | `getHeaderContent` |
113
- | `getFrozenRightRowsObject`, `getMovableRwsObject` | `getRowsObject` |
114
- | `getFrozenRightHeaderTbody`, `getMovableHeaderTbody`, `getFrozenHeaderTbody` | `getContent().querySelector(‘tbody’)` |
115
- | `getFrozenLeftContentTbody`, `getFrozenRightContentTbody`, `getMovableContentTbody` | `getHeaderContent().querySelector(‘tbody’)` |
116
- | `getFrozenRightContent`, `getMovableContent` | `getContent` |
117
-
118
- ## 20.2.36 (2022-06-30)
119
-
120
- ### Tree Grid
121
-
122
- #### Features
123
-
124
- - Provided support for inline editing with virtualization enabled. Please find the demo [here](https://ej2.syncfusion.com/demos/#/bootstrap5/tree-grid/virtual-scrolling.html).
125
- - `#I323425`, `#I332700`, `#I344742`, `#I375307` - Provided support for frozen column with virtualization enabled.
126
-
127
- ## 19.2.44 (2021-06-30)
128
-
129
- ### Tree Grid
130
-
131
- #### Bug Fixes
132
-
133
- - `#332604` - Resolved white space issue while using less number of records with Virtualization.
134
-
135
- ## 18.4.30 (2020-12-17)
136
-
137
- ### Tree Grid
138
-
139
- #### New Features
140
-
141
- - `#294082` - Provided Immutable Support to refresh specific rows while perform Tree Grid actions.
142
- - `#283491` - Provided error handling support to easily rectify errors in sample side.
143
- - `#298682`, `#299561` - Added getVisibleRecords API to get the visible records based on collapsed rows state.
144
-
145
- #### Bug Fixes
146
-
147
- - `#F157882`- After editing the row using `updateRow` method, `getCurrentViewRecords` method updated properly.
148
- - `#F157882`- When editing with a double click, it works fine when we only have one record.
149
- - `#289600` - Records get expanded properly after collapsing all records using `collapseAtLevel` method in observable binding.
150
- - `#F157099` - Virtualization with Aggregates works fine with large number of records.
151
- - `#296233` - Row Drag and Drop within treegrid works fine.
152
- - `#297986` - Row Drag and drop within treegrid works fine with checkbox enabled.
153
- - `#F158886` - Cell editing with frozen columns works fine.
154
- - `#299761` - Treegrid column width renders fine in Internet Explorer when Virtualization is enabled.
155
- - `#301861` - Tree Grid dataSource updated properly while using setCellValue method.
156
- - `#F159697` - Order of child records are displayed correctly after editing in remote data binding.
157
- - `292453` - Treegrid refresh method works fine after updating the data.
158
-
159
- ## 18.3.35 (2020-10-01)
160
-
161
- ### TreeGrid
162
-
163
- #### Bug Fixes
164
-
165
- - `#F157258` - `updateRow` method works fine for updating collapsed data.
166
- - `#292933` - checkbox rendered properly while using the template column.
167
- - `#289685` - Aggregate Column Formatting is working fine
168
- - `#288542` - The Expand / Collapse icon has been rendered properly while enabling expand state mapping and adding a new record.
169
- - `#287235` - While enabling expand state mapping the Expand / Collapse icon works fine at nested child levels.
170
- - `#285434`- Column SortComparer function works fine with null values for RemoteSaveAdaptor datasource.
171
- - `#284987`- Records rendered properly while using remote save adaptor in created event.
172
- - `#285434`- Column SortComparer function works fine with null values in datasource.
173
- - `#F155077`- Records rendered properly while using remote data with jQuery unobtrusive library.
174
-
175
- ## 18.2.44 (2020-07-07)
176
-
177
- ### TreeGrid
178
-
179
- #### Bug Fixes
180
-
181
- - `#279109` - Checkbox checked properly for child records in remote data.
182
- - `#277364`, `#279732` - Checkbox with `allowRowDragAndDrop` property rendered properly after editing and cancelling in cell edit mode.
183
- - `#277364` - Checkbox with `autoCheckHierarchy` property rendered properly after editing and cancelling in cell edit mode.
184
- - `#278266` - Edit type `dropdownedit` is working properly in cell edit mode when enter key is pressed.
185
- - `#272026` - `updateRow` method works fine for updating treegrid data source.
186
- - `#273309` - Editing the zeroth level added record works fine in Batch mode.
187
- - `#277361` - Auto generated columns work fine when two treegrids are rendered on the same page.
188
-
189
- #### New Features
190
-
191
- - `#258863`, `#271677` - Expand & Collapse child rows support has been provided in Excel Export.
192
- - Columnchooser support has been provided that allows user to show or hide columns dynamically.
193
- - Provided support for Editing with Virtualization feature.
194
-
195
- #### Breaking Changes
196
-
197
- - Now `data`, `row` these Tree Grid selection event arguments are get array values only when we perform multi selection. Please find modified event arguments and it types from the below table,
198
-
199
- `Properties` |`Type`
200
- -----|-----
201
- `data` | `Object or Object[]`
202
- `rowIndex` | `number`
203
- `rowIndexes` | `number[]`
204
- `row` | `Element or Element[]`
205
-
206
- ## 17.4.39 (2019-12-17)
207
-
208
- ### TreeGrid
209
-
210
- #### New Features
211
-
212
- - AutoFill support has been provided that allows users to copy the data of selected cells and paste it to another cells by dragging.
213
-
214
- #### Breaking Changes
215
-
216
- - Default value of column's `disableHtmlEncode` is set to true, so the HTML tags can be displayed in the Grid header and content by default. To display it as html content `disableHtmlEncode` need to be set as false.
217
-
218
- ## 17.2.48-beta (2019-08-28)
219
-
220
- ### TreeGrid
221
-
222
- #### New Features
223
-
224
- - Checkbox selection support has been provided that allows users to select rows using checkbox.
225
- - Checkbox Column support has been provided that allows users to check rows using checkbox in treegrid column.
226
-
227
- #### Bug Fixes
228
-
229
- - Change detection for properties `dataSource` and `query` were handled for remote data.
230
- - Edited records can be searched/filtered.
231
- - Inner level records will be collapsed/expanded after filtering/searching actions.
232
-
233
- ## 17.1.1-beta (2019-01-29)
234
-
235
- ### TreeGrid
236
-
237
- #### Bug Fixes
238
-
239
- - `Query` maintenance support provided for `refresh` method after expanding any child rows.
240
- - Property change support for `height` property has been provided.
241
- - Expand icon is prevented from displaying for the root/zeroth level record which has `hasChildMapping` field as false.
242
- - Child records of third level or its successor displays properly based on their hierarchy relation in self reference data binding.
243
-
244
- #### New Features
245
-
246
- - `Excel-Like Filtering` support is provided that allows users to create complex filter criteria for a column by allowing users to select possible filter values from a checkbox list. The advanced filter can be used to build complex filter criteria.
247
-
248
- ## 16.4.45 (2019-01-02)
249
-
250
- ### TreeGrid
251
-
252
- #### Bug Fixes
253
-
254
- - Added events for the column menu feature and added `columnMenuItems` API to modify the column menu items in column menu.
255
- - Added `sortComparer` API to perform custom sorting in TreeGrid.
256
-
257
- ## 16.4.44 (2018-12-24)
258
-
259
- ### TreeGrid
260
-
261
- #### Bug Fixes
262
-
263
- - Expanding and Collapsing records is working fine when `pageSizeMode` is set as `All`.
264
- - `expandAtLevel`, `collapseAtLevel`, `expandAll` and `collapseAll` methods are working fine when `pageSizeMode` is set as `All`.
@@ -1 +0,0 @@
1
- export * from './treegridhelper';
@@ -1,8 +0,0 @@
1
- define(["require", "exports", "./treegridhelper"], function (require, exports, treegridhelper_1) {
2
- "use strict";
3
- function __export(m) {
4
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
5
- }
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- __export(treegridhelper_1);
8
- });
@@ -1,21 +0,0 @@
1
- import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
2
- export declare class TreeGridHelper extends TestHelper {
3
- id: string;
4
- wrapperFn: Function;
5
- constructor(id: string, wrapperFn: Function);
6
- getDataGridElement(): any;
7
- getHeaderElement(): any;
8
- getContentElement(): any;
9
- getFooterElement(): any;
10
- getPagerElement(): any;
11
- getDialogElement(): any;
12
- getFilterPopupElement(): any;
13
- getToolbarElement(): any;
14
- getCurrentPagerElement(): any;
15
- getPagerDropDownElement(): any;
16
- getExpandedElements(): any;
17
- getCollapsedElements(): any;
18
- setModel(property: any, value: any): any;
19
- getModel(property: any): any;
20
- invoke(fName: any, args?: any): any;
21
- }
@@ -1,83 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
- "use strict";
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- var TreeGridHelper = (function (_super) {
18
- __extends(TreeGridHelper, _super);
19
- function TreeGridHelper(id, wrapperFn) {
20
- var _this = _super.call(this) || this;
21
- _this.id = id;
22
- if (wrapperFn !== undefined) {
23
- _this.wrapperFn = wrapperFn;
24
- }
25
- return _this;
26
- }
27
- TreeGridHelper.prototype.getDataGridElement = function () {
28
- return this.selector('#' + this.id);
29
- };
30
- TreeGridHelper.prototype.getHeaderElement = function () {
31
- return this.selector('#' + this.id + ' .e-gridheader');
32
- };
33
- TreeGridHelper.prototype.getContentElement = function () {
34
- return this.selector('#' + this.id + ' .e-gridcontent');
35
- };
36
- TreeGridHelper.prototype.getFooterElement = function () {
37
- return this.selector('#' + this.id + ' .e-gridfooter');
38
- };
39
- TreeGridHelper.prototype.getPagerElement = function () {
40
- return this.selector('#' + this.id + ' .e-gridpager');
41
- };
42
- TreeGridHelper.prototype.getDialogElement = function () {
43
- return this.selector('#' + this.id + '_gridcontrol_dialogEdit_wrapper');
44
- };
45
- TreeGridHelper.prototype.getFilterPopupElement = function () {
46
- return this.selector('#' + this.id + ' .e-filter-popup');
47
- };
48
- TreeGridHelper.prototype.getToolbarElement = function () {
49
- return this.selector('#' + this.id + '_gridcontrol_toolbarItems');
50
- };
51
- TreeGridHelper.prototype.getCurrentPagerElement = function () {
52
- return this.selector('#' + this.id + ' .e-numericitem.e-currentitem');
53
- };
54
- TreeGridHelper.prototype.getPagerDropDownElement = function () {
55
- return this.selector('#' + this.id + ' .e-pagerdropdown');
56
- };
57
- TreeGridHelper.prototype.getExpandedElements = function () {
58
- return this.selector('#' + this.id + ' .e-treegridexpand');
59
- };
60
- TreeGridHelper.prototype.getCollapsedElements = function () {
61
- return this.selector('#' + this.id + ' .e-treegridcollapsed');
62
- };
63
- TreeGridHelper.prototype.setModel = function (property, value) {
64
- return cy.get('#' + this.id).then(function (ele) {
65
- return ele[0].ej2_instances[0][property] = value;
66
- });
67
- };
68
- TreeGridHelper.prototype.getModel = function (property) {
69
- return cy.get('#' + this.id).then(function (ele) {
70
- return ele[0].ej2_instances[0][property];
71
- });
72
- };
73
- TreeGridHelper.prototype.invoke = function (fName, args) {
74
- if (args === void 0) { args = []; }
75
- return cy.get('#' + this.id).then(function (ele) {
76
- var inst = ele[0].ej2_instances[0];
77
- return inst[fName].apply(inst, args);
78
- });
79
- };
80
- return TreeGridHelper;
81
- }(e2e_1.TestHelper));
82
- exports.TreeGridHelper = TreeGridHelper;
83
- });
package/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- /**
2
- * index
3
- */
4
- export * from './src/index';
package/index.js DELETED
@@ -1,4 +0,0 @@
1
- /**
2
- * index
3
- */
4
- export * from './src/index';
package/src/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- /**
2
- * Export TreeGrid component
3
- */
4
- export * from './treegrid/index';
@@ -1,73 +0,0 @@
1
- import { TreeGrid } from '../base';
2
- /**
3
- * `BatchEdit` module is used to handle batch editing actions.
4
- *
5
- * @hidden
6
- */
7
- export declare class BatchEdit {
8
- private parent;
9
- private isSelfReference;
10
- private addRowRecord;
11
- private batchChildCount;
12
- private addedRecords;
13
- private deletedRecords;
14
- private matrix;
15
- private batchRecords;
16
- private currentViewRecords;
17
- private batchAddedRecords;
18
- private batchDeletedRecords;
19
- private batchIndex;
20
- private batchAddRowRecord;
21
- private isAdd;
22
- private newBatchRowAdded;
23
- private selectedIndex;
24
- private addRowIndex;
25
- constructor(parent: TreeGrid);
26
- addEventListener(): void;
27
- /**
28
- * @hidden
29
- * @returns {void}
30
- */
31
- removeEventListener(): void;
32
- /**
33
- * To destroy the editModule
34
- *
35
- * @returns {void}
36
- * @hidden
37
- */
38
- destroy(): void;
39
- /**
40
- * @hidden
41
- * @returns {Object[]} Returns modified records in batch editing.
42
- */
43
- getBatchRecords(): Object[];
44
- /**
45
- * @hidden
46
- * @returns {number} Returns index of newly add row
47
- */
48
- getAddRowIndex(): number;
49
- /**
50
- * @hidden
51
- * @returns {number} Returns selected row index
52
- */
53
- getSelectedIndex(): number;
54
- /**
55
- * @hidden
56
- * @returns {number} Returns newly added child count
57
- */
58
- getBatchChildCount(): number;
59
- private batchPageAction;
60
- private cellSaved;
61
- private beforeBatchAdd;
62
- private batchAdd;
63
- private beforeBatchDelete;
64
- private updateRowIndex;
65
- private updateChildCount;
66
- private beforeBatchSave;
67
- private deleteUniqueID;
68
- private batchCancelAction;
69
- private batchSave;
70
- private getActualRowObjectIndex;
71
- private immutableBatchAction;
72
- private nextCellIndex;
73
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * clipboard.ts file
3
- */
4
- import { TreeGrid } from '../base/treegrid';
5
- import { Clipboard as GridClipboard, ServiceLocator } from '@syncfusion/ej2-grids';
6
- /**
7
- * The `Clipboard` module is used to handle clipboard copy action.
8
- *
9
- * @hidden
10
- */
11
- export declare class TreeClipboard extends GridClipboard {
12
- private treeGridParent;
13
- private treeCopyContent;
14
- private copiedUniqueIdCollection;
15
- protected serviceLocator: ServiceLocator;
16
- constructor(parent?: TreeGrid, serviceLocator?: ServiceLocator);
17
- protected setCopyData(withHeader?: boolean): void;
18
- private parentContentData;
19
- copy(withHeader?: boolean): void;
20
- paste(data: string, rowIndex: number, colIndex: number): void;
21
- /**
22
- * For internal use only - Get the module name.
23
- *
24
- * @private
25
- * @returns {string} Returns clipboard module name
26
- */
27
- protected getModuleName(): string;
28
- /**
29
- * To destroy the clipboard
30
- *
31
- * @returns {void}
32
- * @hidden
33
- */
34
- destroy(): void;
35
- private childContentData;
36
- }
@@ -1,37 +0,0 @@
1
- import { TreeGrid } from '../base/treegrid';
2
- /**
3
- * TreeGrid ColumnChooser module
4
- *
5
- * @hidden
6
- */
7
- export declare class ColumnChooser {
8
- private parent;
9
- /**
10
- * Constructor for render module
11
- *
12
- * @param {TreeGrid} parent - Tree Grid instance.
13
- */
14
- constructor(parent?: TreeGrid);
15
- /**
16
- * Column chooser can be displayed on screen by given position(X and Y axis).
17
- *
18
- * @param {number} X - Defines the X axis.
19
- * @param {number} Y - Defines the Y axis.
20
- * @returns {void}
21
- */
22
- openColumnChooser(X?: number, Y?: number): void;
23
- /**
24
- * Destroys the openColumnChooser.
25
- *
26
- * @function destroy
27
- * @returns {void}
28
- */
29
- destroy(): void;
30
- /**
31
- * For internal use only - Get the module name.
32
- *
33
- * @private
34
- * @returns {string} Returns ColumnChooser module name
35
- */
36
- private getModuleName;
37
- }
@@ -1,24 +0,0 @@
1
- import { TreeGrid } from '../base/treegrid';
2
- /**
3
- * TreeGrid ColumnMenu module
4
- *
5
- * @hidden
6
- */
7
- export declare class ColumnMenu {
8
- private parent;
9
- /**
10
- * Constructor for render module
11
- *
12
- * @param {TreeGrid} parent - Tree Grid instance
13
- */
14
- constructor(parent?: TreeGrid);
15
- getColumnMenu(): HTMLElement;
16
- destroy(): void;
17
- /**
18
- * For internal use only - Get the module name.
19
- *
20
- * @private
21
- * @returns {string} Returns ColumnMenu module name
22
- */
23
- private getModuleName;
24
- }
@@ -1,24 +0,0 @@
1
- import { TreeGrid } from '../base';
2
- /**
3
- * Command Column Module for TreeGrid
4
- *
5
- * @hidden
6
- */
7
- export declare class CommandColumn {
8
- private parent;
9
- constructor(parent: TreeGrid);
10
- /**
11
- * For internal use only - Get the module name.
12
- *
13
- * @private
14
- * @returns {string} Returns CommandColumn module name
15
- */
16
- protected getModuleName(): string;
17
- /**
18
- * Destroys the ContextMenu.
19
- *
20
- * @function destroy
21
- * @returns {void}
22
- */
23
- destroy(): void;
24
- }
@@ -1,42 +0,0 @@
1
- import { TreeGrid } from '../base';
2
- /**
3
- * ContextMenu Module for TreeGrid
4
- *
5
- * @hidden
6
- */
7
- export declare class ContextMenu {
8
- private parent;
9
- constructor(parent: TreeGrid);
10
- /**
11
- * @hidden
12
- * @returns {void}
13
- */
14
- addEventListener(): void;
15
- /**
16
- * @hidden
17
- * @returns {void}
18
- */
19
- removeEventListener(): void;
20
- private contextMenuOpen;
21
- private contextMenuClick;
22
- /**
23
- * For internal use only - Get the module name.
24
- *
25
- * @private
26
- * @returns {string} Returns ContextMenu module name
27
- */
28
- protected getModuleName(): string;
29
- /**
30
- * Destroys the ContextMenu.
31
- *
32
- * @function destroy
33
- * @returns {void}
34
- */
35
- destroy(): void;
36
- /**
37
- * Gets the context menu element from the TreeGrid.
38
- *
39
- * @returns {Element} Return Context Menu root element.
40
- */
41
- getContextMenu(): Element;
42
- }