@syncfusion/ej2-treegrid 25.2.5 → 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 (284) 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 +706 -532
  7. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  8. package/dist/es6/ej2-treegrid.es5.js +1222 -1047
  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 +29 -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/render.js +3 -1
  53. package/src/treegrid/renderer/virtual-row-model-generator.js +15 -15
  54. package/src/treegrid/renderer/virtual-tree-content-render.js +15 -14
  55. package/styles/bds-lite.css +745 -0
  56. package/styles/bds-lite.scss +18 -0
  57. package/styles/bds.css +765 -0
  58. package/styles/bds.scss +19 -0
  59. package/styles/bootstrap-dark-lite.css +506 -0
  60. package/styles/bootstrap-dark-lite.scss +18 -0
  61. package/styles/bootstrap-dark.css +187 -117
  62. package/styles/bootstrap-dark.scss +19 -1
  63. package/styles/bootstrap-lite.css +509 -0
  64. package/styles/bootstrap-lite.scss +18 -0
  65. package/styles/bootstrap.css +190 -121
  66. package/styles/bootstrap.scss +19 -1
  67. package/styles/bootstrap4-lite.css +550 -0
  68. package/styles/bootstrap4-lite.scss +18 -0
  69. package/styles/bootstrap4.css +194 -133
  70. package/styles/bootstrap4.scss +19 -1
  71. package/styles/bootstrap5-dark-lite.css +545 -0
  72. package/styles/bootstrap5-dark-lite.scss +18 -0
  73. package/styles/bootstrap5-dark.css +189 -123
  74. package/styles/bootstrap5-dark.scss +19 -1
  75. package/styles/bootstrap5-lite.css +545 -0
  76. package/styles/bootstrap5-lite.scss +18 -0
  77. package/styles/bootstrap5.3-lite.css +1637 -0
  78. package/styles/bootstrap5.3-lite.scss +18 -0
  79. package/styles/bootstrap5.3.css +1657 -0
  80. package/styles/bootstrap5.3.scss +19 -0
  81. package/styles/bootstrap5.css +188 -122
  82. package/styles/bootstrap5.scss +19 -1
  83. package/styles/fabric-dark-lite.css +485 -0
  84. package/styles/fabric-dark-lite.scss +18 -0
  85. package/styles/fabric-dark.css +188 -118
  86. package/styles/fabric-dark.scss +19 -1
  87. package/styles/fabric-lite.css +485 -0
  88. package/styles/fabric-lite.scss +18 -0
  89. package/styles/fabric.css +188 -111
  90. package/styles/fabric.scss +19 -1
  91. package/styles/fluent-dark-lite.css +548 -0
  92. package/styles/fluent-dark-lite.scss +18 -0
  93. package/styles/fluent-dark.css +195 -116
  94. package/styles/fluent-dark.scss +19 -1
  95. package/styles/fluent-lite.css +548 -0
  96. package/styles/fluent-lite.scss +18 -0
  97. package/styles/fluent.css +195 -116
  98. package/styles/fluent.scss +19 -1
  99. package/styles/fluent2-lite.css +1856 -0
  100. package/styles/fluent2-lite.scss +18 -0
  101. package/styles/fluent2.css +1879 -0
  102. package/styles/fluent2.scss +19 -0
  103. package/styles/highcontrast-light-lite.css +491 -0
  104. package/styles/highcontrast-light-lite.scss +18 -0
  105. package/styles/highcontrast-light.css +185 -103
  106. package/styles/highcontrast-light.scss +19 -1
  107. package/styles/highcontrast-lite.css +498 -0
  108. package/styles/highcontrast-lite.scss +18 -0
  109. package/styles/highcontrast.css +196 -107
  110. package/styles/highcontrast.scss +19 -1
  111. package/styles/material-dark-lite.css +567 -0
  112. package/styles/material-dark-lite.scss +18 -0
  113. package/styles/material-dark.css +220 -105
  114. package/styles/material-dark.scss +19 -1
  115. package/styles/material-lite.css +591 -0
  116. package/styles/material-lite.scss +18 -0
  117. package/styles/material.css +234 -129
  118. package/styles/material.scss +19 -1
  119. package/styles/material3-dark-lite.css +1666 -0
  120. package/styles/material3-dark-lite.scss +18 -0
  121. package/styles/material3-dark.css +1310 -187
  122. package/styles/material3-dark.scss +19 -1
  123. package/styles/material3-lite.css +1668 -0
  124. package/styles/material3-lite.scss +18 -0
  125. package/styles/material3.css +1311 -242
  126. package/styles/material3.scss +19 -1
  127. package/styles/tailwind-dark-lite.css +518 -0
  128. package/styles/tailwind-dark-lite.scss +18 -0
  129. package/styles/tailwind-dark.css +196 -103
  130. package/styles/tailwind-dark.scss +19 -1
  131. package/styles/tailwind-lite.css +518 -0
  132. package/styles/tailwind-lite.scss +18 -0
  133. package/styles/tailwind.css +196 -103
  134. package/styles/tailwind.scss +19 -1
  135. package/styles/tailwind3-lite.css +1697 -0
  136. package/styles/tailwind3-lite.scss +18 -0
  137. package/styles/tailwind3.css +1717 -0
  138. package/styles/tailwind3.scss +19 -0
  139. package/styles/treegrid/_all.scss +2 -2
  140. package/styles/treegrid/_bds-definition.scss +49 -28
  141. package/styles/treegrid/_bigger.scss +66 -0
  142. package/styles/treegrid/_bootstrap-dark-definition.scss +54 -30
  143. package/styles/treegrid/_bootstrap-definition.scss +54 -30
  144. package/styles/treegrid/_bootstrap4-definition.scss +54 -30
  145. package/styles/treegrid/_bootstrap5-definition.scss +49 -28
  146. package/styles/treegrid/_bootstrap5.3-definition.scss +49 -0
  147. package/styles/treegrid/_fabric-dark-definition.scss +54 -30
  148. package/styles/treegrid/_fabric-definition.scss +54 -30
  149. package/styles/treegrid/_fluent-definition.scss +50 -29
  150. package/styles/treegrid/_fluent2-definition.scss +49 -0
  151. package/styles/treegrid/_fusionnew-definition.scss +49 -28
  152. package/styles/treegrid/_highcontrast-definition.scss +54 -30
  153. package/styles/treegrid/_highcontrast-light-definition.scss +54 -30
  154. package/styles/treegrid/_icons.scss +47 -37
  155. package/styles/treegrid/_layout.scss +530 -455
  156. package/styles/treegrid/_material-dark-definition.scss +54 -30
  157. package/styles/treegrid/_material-definition.scss +54 -30
  158. package/styles/treegrid/_material3-definition.scss +49 -28
  159. package/styles/treegrid/_tailwind-definition.scss +49 -28
  160. package/styles/treegrid/_tailwind3-definition.scss +49 -0
  161. package/styles/treegrid/_theme.scss +1 -1
  162. package/styles/treegrid/bds.css +765 -0
  163. package/styles/treegrid/bds.scss +19 -0
  164. package/styles/treegrid/bootstrap-dark.css +187 -117
  165. package/styles/treegrid/bootstrap-dark.scss +1 -0
  166. package/styles/treegrid/bootstrap.css +190 -121
  167. package/styles/treegrid/bootstrap.scss +1 -0
  168. package/styles/treegrid/bootstrap4.css +194 -133
  169. package/styles/treegrid/bootstrap4.scss +1 -0
  170. package/styles/treegrid/bootstrap5-dark.css +189 -123
  171. package/styles/treegrid/bootstrap5-dark.scss +1 -0
  172. package/styles/treegrid/bootstrap5.3.css +1657 -0
  173. package/styles/treegrid/bootstrap5.3.scss +19 -0
  174. package/styles/treegrid/bootstrap5.css +188 -122
  175. package/styles/treegrid/bootstrap5.scss +1 -0
  176. package/styles/treegrid/fabric-dark.css +188 -118
  177. package/styles/treegrid/fabric-dark.scss +1 -0
  178. package/styles/treegrid/fabric.css +188 -111
  179. package/styles/treegrid/fabric.scss +1 -0
  180. package/styles/treegrid/fluent-dark.css +195 -116
  181. package/styles/treegrid/fluent-dark.scss +1 -0
  182. package/styles/treegrid/fluent.css +195 -116
  183. package/styles/treegrid/fluent.scss +1 -0
  184. package/styles/treegrid/fluent2.css +1879 -0
  185. package/styles/treegrid/fluent2.scss +19 -0
  186. package/styles/treegrid/highcontrast-light.css +185 -103
  187. package/styles/treegrid/highcontrast-light.scss +1 -0
  188. package/styles/treegrid/highcontrast.css +196 -107
  189. package/styles/treegrid/highcontrast.scss +1 -0
  190. package/styles/treegrid/icons/_bds.scss +37 -37
  191. package/styles/treegrid/icons/_bootstrap-dark.scss +47 -37
  192. package/styles/treegrid/icons/_bootstrap.scss +47 -37
  193. package/styles/treegrid/icons/_bootstrap4.scss +47 -37
  194. package/styles/treegrid/icons/_bootstrap5.3.scss +47 -0
  195. package/styles/treegrid/icons/_bootstrap5.scss +47 -37
  196. package/styles/treegrid/icons/_fabric-dark.scss +47 -37
  197. package/styles/treegrid/icons/_fabric.scss +47 -37
  198. package/styles/treegrid/icons/_fluent.scss +47 -37
  199. package/styles/treegrid/icons/_fluent2.scss +47 -0
  200. package/styles/treegrid/icons/_fusionnew.scss +30 -26
  201. package/styles/treegrid/icons/_highcontrast-light.scss +47 -37
  202. package/styles/treegrid/icons/_highcontrast.scss +47 -37
  203. package/styles/treegrid/icons/_material-dark.scss +47 -37
  204. package/styles/treegrid/icons/_material.scss +47 -37
  205. package/styles/treegrid/icons/_material3.scss +47 -37
  206. package/styles/treegrid/icons/_tailwind-dark.scss +47 -37
  207. package/styles/treegrid/icons/_tailwind.scss +47 -37
  208. package/styles/treegrid/icons/_tailwind3.scss +47 -0
  209. package/styles/treegrid/material-dark.css +220 -105
  210. package/styles/treegrid/material-dark.scss +1 -0
  211. package/styles/treegrid/material.css +234 -129
  212. package/styles/treegrid/material.scss +1 -0
  213. package/styles/treegrid/material3-dark.css +1310 -187
  214. package/styles/treegrid/material3-dark.scss +2 -1
  215. package/styles/treegrid/material3.css +1311 -242
  216. package/styles/treegrid/material3.scss +2 -1
  217. package/styles/treegrid/tailwind-dark.css +196 -103
  218. package/styles/treegrid/tailwind-dark.scss +1 -0
  219. package/styles/treegrid/tailwind.css +196 -103
  220. package/styles/treegrid/tailwind.scss +1 -0
  221. package/styles/treegrid/tailwind3.css +1717 -0
  222. package/styles/treegrid/tailwind3.scss +19 -0
  223. package/CHANGELOG.md +0 -250
  224. package/helpers/e2e/index.d.ts +0 -1
  225. package/helpers/e2e/index.js +0 -8
  226. package/helpers/e2e/treegridhelper.d.ts +0 -21
  227. package/helpers/e2e/treegridhelper.js +0 -83
  228. package/index.d.ts +0 -4
  229. package/index.js +0 -4
  230. package/src/index.d.ts +0 -4
  231. package/src/treegrid/actions/batch-edit.d.ts +0 -73
  232. package/src/treegrid/actions/clipboard.d.ts +0 -36
  233. package/src/treegrid/actions/column-chooser.d.ts +0 -37
  234. package/src/treegrid/actions/column-menu.d.ts +0 -24
  235. package/src/treegrid/actions/command-column.d.ts +0 -24
  236. package/src/treegrid/actions/context-menu.d.ts +0 -42
  237. package/src/treegrid/actions/crud-actions.d.ts +0 -66
  238. package/src/treegrid/actions/detail-row.d.ts +0 -39
  239. package/src/treegrid/actions/edit.d.ts +0 -112
  240. package/src/treegrid/actions/excel-export.d.ts +0 -59
  241. package/src/treegrid/actions/filter.d.ts +0 -57
  242. package/src/treegrid/actions/freeze-column.d.ts +0 -28
  243. package/src/treegrid/actions/index.d.ts +0 -24
  244. package/src/treegrid/actions/infinite-scroll.d.ts +0 -96
  245. package/src/treegrid/actions/logger.d.ts +0 -25
  246. package/src/treegrid/actions/page.d.ts +0 -67
  247. package/src/treegrid/actions/pdf-export.d.ts +0 -55
  248. package/src/treegrid/actions/print.d.ts +0 -37
  249. package/src/treegrid/actions/reorder.d.ts +0 -36
  250. package/src/treegrid/actions/resize.d.ts +0 -36
  251. package/src/treegrid/actions/rowdragdrop.d.ts +0 -113
  252. package/src/treegrid/actions/selection.d.ts +0 -51
  253. package/src/treegrid/actions/sort.d.ts +0 -63
  254. package/src/treegrid/actions/summary.d.ts +0 -47
  255. package/src/treegrid/actions/toolbar.d.ts +0 -52
  256. package/src/treegrid/actions/virtual-scroll.d.ts +0 -53
  257. package/src/treegrid/base/constant.d.ts +0 -160
  258. package/src/treegrid/base/data.d.ts +0 -90
  259. package/src/treegrid/base/index.d.ts +0 -11
  260. package/src/treegrid/base/interface.d.ts +0 -182
  261. package/src/treegrid/base/treegrid.d.ts +0 -2186
  262. package/src/treegrid/enum.d.ts +0 -155
  263. package/src/treegrid/index.d.ts +0 -9
  264. package/src/treegrid/models/column.d.ts +0 -752
  265. package/src/treegrid/models/edit-settings.d.ts +0 -90
  266. package/src/treegrid/models/filter-settings.d.ts +0 -203
  267. package/src/treegrid/models/index.d.ts +0 -24
  268. package/src/treegrid/models/infinite-scroll-settings.d.ts +0 -25
  269. package/src/treegrid/models/loading-indicator.d.ts +0 -19
  270. package/src/treegrid/models/page-settings.d.ts +0 -60
  271. package/src/treegrid/models/rowdrop-settings.d.ts +0 -27
  272. package/src/treegrid/models/search-settings.d.ts +0 -71
  273. package/src/treegrid/models/selection-settings.d.ts +0 -79
  274. package/src/treegrid/models/sort-settings.d.ts +0 -40
  275. package/src/treegrid/models/summary.d.ts +0 -124
  276. package/src/treegrid/models/textwrap-settings.d.ts +0 -16
  277. package/src/treegrid/renderer/index.d.ts +0 -5
  278. package/src/treegrid/renderer/render.d.ts +0 -41
  279. package/src/treegrid/renderer/virtual-row-model-generator.d.ts +0 -16
  280. package/src/treegrid/renderer/virtual-tree-content-render.d.ts +0 -75
  281. package/src/treegrid/utils.d.ts +0 -70
  282. package/treegrid.d.ts +0 -4
  283. package/treegrid.js +0 -4
  284. 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,250 +0,0 @@
1
- # Changelog
2
-
3
- ## [Unreleased]
4
-
5
- ## 25.2.4 (2024-05-14)
6
-
7
- ### Tree Grid
8
-
9
- #### Bug Fixes
10
-
11
- - `#I585348` - Record gets disappeared when adding new record in last page issue has been fixed.
12
- - `#I575018` - Resolved `frozenColumns` with virtualization leads to missing records on scrolling.
13
- - `#F187800` - Resolved exception on passing the `collpaseRow` and `expandRow` method without parameters.
14
- - `#F53252` - Fixed issue where newly added row to the bottom was indented to the selected child record.
15
- - `#F53285` - Fixed issue where server request was not updated properly during export with filtering and sorting action in remote data.
16
- - `#F53846` - Fixed issue where unnecessary requests were being sent for custom local data source during excel export in remote data sample.
17
- - `#F53930` - Fixed a script error that occurred when navigating through cells using the keyboard after updating the state in the treegrid.
18
- - `#F54026` - Fixed a bug where a warning message was being thrown after injecting freeze modules when frozen was enabled.
19
-
20
- ## 25.1.42 (2024-04-30)
21
-
22
- ### Tree Grid
23
-
24
- #### Bug Fixes
25
-
26
- - `#I582383` - Fixed script error that occurred when reloading the page while using persistence along with frozen column in treegrid.
27
-
28
- ## 25.1.41 (2024-04-23)
29
-
30
- ### Tree Grid
31
-
32
- #### Bug Fixes
33
-
34
- - `#I578431` - Last page index issue in virtualization when adding new record after scrolling issue has been fixed.
35
- - `#I570787` - Fixed issue with Excel exporting in remote data with custom datasource.
36
- - `#I575019` - Resolved white space issue on scrolling to the bottom when virtualization enabled with `frozenColumns`.
37
- - `#I575021` - Resolved bottom scrolling issue when virtualization enabled with `frozenColumns` and column template.
38
- - `#I571916` - Resolved exception while showing tooltip when the `treeColumnIndex` greater than overall columns.
39
-
40
- ## 25.1.39 (2024-04-09)
41
-
42
- ### Tree Grid
43
-
44
- #### Bug Fixes
45
-
46
- - `#I558418` - Resolved data re-rendering on scrolling up in virtualization.
47
- - `#F187000` - Nested parent remains the expanded property when its root parent is collapsed in remote data with loadChildOnDemand.
48
- - `#I572093` - `onclick` event of button bound properly while creating a button component in treegrid with HtmlEncode enabled.
49
-
50
- ## 25.1.38 (2024-04-02)
51
-
52
- ### Tree Grid
53
-
54
- #### Bug Fixes
55
-
56
- - `#I560767` - Resolved exception on initial rendering with column template in remote data.
57
-
58
- ## 25.1.37 (2024-03-26)
59
-
60
- ### Tree Grid
61
-
62
- #### Bug Fixes
63
-
64
- - `#F187000` - Resolved exception when the dataSource and the columns were not defined.
65
- - `#I560889` - Added dropPosition in `RowDragEventArgs` of `rowDrop` event.
66
- - `#I567688` - Resolved exception on refreshing the browser when persistence enabled.
67
-
68
- ## 25.1.35 (2024-03-15)
69
-
70
- ### Tree Grid
71
-
72
- #### Bug Fixes
73
-
74
- - `#F50891` - Fixed issue where react template disappears in tree grid column while using `useState()`.
75
-
76
- ## 23.1.36 (2022-09-15)
77
-
78
- ### Tree Grid
79
-
80
- #### Features
81
-
82
- - `#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).
83
-
84
- - 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.
85
-
86
- #### Breaking Changes
87
-
88
- - 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.
89
-
90
- | Removed methods | Suggested to use alternative methods |
91
- |----------|----------|
92
- | `getMoavableRows`, `getFrozenRightRows` | `getRows` |
93
- | `getMovableRowByIndex`, `getFrozenRowByIndex`, `getFrozenRightRowByIndex` | `getRowByIndex` |
94
- | `getMovableCellFromIndex`, `getFrozenRightCellFromIndex` | `getCellFromIndex` |
95
- | `getMovableDataRows`, `getFrozenRightDataRows`, `getFrozenDataRows` | `getDataRows` |
96
- | `getAllMovableDataRows`, `getAllFrozenDataRows`, `getAllFrozenRightDataRows` | `getAllDataRows` |
97
- | `getMovableColumnHeaderByIndex`, `getFrozenRightColumnHeaderByIndex`, `getFrozenLeftColumnHeaderByIndex` | `getColumnHeaderByIndex` |
98
- | `getFrozenRightHeader`, `getMovableHeader` | `getHeaderContent` |
99
- | `getFrozenRightRowsObject`, `getMovableRwsObject` | `getRowsObject` |
100
- | `getFrozenRightHeaderTbody`, `getMovableHeaderTbody`, `getFrozenHeaderTbody` | `getContent().querySelector(‘tbody’)` |
101
- | `getFrozenLeftContentTbody`, `getFrozenRightContentTbody`, `getMovableContentTbody` | `getHeaderContent().querySelector(‘tbody’)` |
102
- | `getFrozenRightContent`, `getMovableContent` | `getContent` |
103
-
104
- ## 20.2.36 (2022-06-30)
105
-
106
- ### Tree Grid
107
-
108
- #### Features
109
-
110
- - Provided support for inline editing with virtualization enabled. Please find the demo [here](https://ej2.syncfusion.com/demos/#/bootstrap5/tree-grid/virtual-scrolling.html).
111
- - `#I323425`, `#I332700`, `#I344742`, `#I375307` - Provided support for frozen column with virtualization enabled.
112
-
113
- ## 19.2.44 (2021-06-30)
114
-
115
- ### Tree Grid
116
-
117
- #### Bug Fixes
118
-
119
- - `#332604` - Resolved white space issue while using less number of records with Virtualization.
120
-
121
- ## 18.4.30 (2020-12-17)
122
-
123
- ### Tree Grid
124
-
125
- #### New Features
126
-
127
- - `#294082` - Provided Immutable Support to refresh specific rows while perform Tree Grid actions.
128
- - `#283491` - Provided error handling support to easily rectify errors in sample side.
129
- - `#298682`, `#299561` - Added getVisibleRecords API to get the visible records based on collapsed rows state.
130
-
131
- #### Bug Fixes
132
-
133
- - `#F157882`- After editing the row using `updateRow` method, `getCurrentViewRecords` method updated properly.
134
- - `#F157882`- When editing with a double click, it works fine when we only have one record.
135
- - `#289600` - Records get expanded properly after collapsing all records using `collapseAtLevel` method in observable binding.
136
- - `#F157099` - Virtualization with Aggregates works fine with large number of records.
137
- - `#296233` - Row Drag and Drop within treegrid works fine.
138
- - `#297986` - Row Drag and drop within treegrid works fine with checkbox enabled.
139
- - `#F158886` - Cell editing with frozen columns works fine.
140
- - `#299761` - Treegrid column width renders fine in Internet Explorer when Virtualization is enabled.
141
- - `#301861` - Tree Grid dataSource updated properly while using setCellValue method.
142
- - `#F159697` - Order of child records are displayed correctly after editing in remote data binding.
143
- - `292453` - Treegrid refresh method works fine after updating the data.
144
-
145
- ## 18.3.35 (2020-10-01)
146
-
147
- ### TreeGrid
148
-
149
- #### Bug Fixes
150
-
151
- - `#F157258` - `updateRow` method works fine for updating collapsed data.
152
- - `#292933` - checkbox rendered properly while using the template column.
153
- - `#289685` - Aggregate Column Formatting is working fine
154
- - `#288542` - The Expand / Collapse icon has been rendered properly while enabling expand state mapping and adding a new record.
155
- - `#287235` - While enabling expand state mapping the Expand / Collapse icon works fine at nested child levels.
156
- - `#285434`- Column SortComparer function works fine with null values for RemoteSaveAdaptor datasource.
157
- - `#284987`- Records rendered properly while using remote save adaptor in created event.
158
- - `#285434`- Column SortComparer function works fine with null values in datasource.
159
- - `#F155077`- Records rendered properly while using remote data with jQuery unobtrusive library.
160
-
161
- ## 18.2.44 (2020-07-07)
162
-
163
- ### TreeGrid
164
-
165
- #### Bug Fixes
166
-
167
- - `#279109` - Checkbox checked properly for child records in remote data.
168
- - `#277364`, `#279732` - Checkbox with `allowRowDragAndDrop` property rendered properly after editing and cancelling in cell edit mode.
169
- - `#277364` - Checkbox with `autoCheckHierarchy` property rendered properly after editing and cancelling in cell edit mode.
170
- - `#278266` - Edit type `dropdownedit` is working properly in cell edit mode when enter key is pressed.
171
- - `#272026` - `updateRow` method works fine for updating treegrid data source.
172
- - `#273309` - Editing the zeroth level added record works fine in Batch mode.
173
- - `#277361` - Auto generated columns work fine when two treegrids are rendered on the same page.
174
-
175
- #### New Features
176
-
177
- - `#258863`, `#271677` - Expand & Collapse child rows support has been provided in Excel Export.
178
- - Columnchooser support has been provided that allows user to show or hide columns dynamically.
179
- - Provided support for Editing with Virtualization feature.
180
-
181
- #### Breaking Changes
182
-
183
- - 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,
184
-
185
- `Properties` |`Type`
186
- -----|-----
187
- `data` | `Object or Object[]`
188
- `rowIndex` | `number`
189
- `rowIndexes` | `number[]`
190
- `row` | `Element or Element[]`
191
-
192
- ## 17.4.39 (2019-12-17)
193
-
194
- ### TreeGrid
195
-
196
- #### New Features
197
-
198
- - AutoFill support has been provided that allows users to copy the data of selected cells and paste it to another cells by dragging.
199
-
200
- #### Breaking Changes
201
-
202
- - 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.
203
-
204
- ## 17.2.48-beta (2019-08-28)
205
-
206
- ### TreeGrid
207
-
208
- #### New Features
209
-
210
- - Checkbox selection support has been provided that allows users to select rows using checkbox.
211
- - Checkbox Column support has been provided that allows users to check rows using checkbox in treegrid column.
212
-
213
- #### Bug Fixes
214
-
215
- - Change detection for properties `dataSource` and `query` were handled for remote data.
216
- - Edited records can be searched/filtered.
217
- - Inner level records will be collapsed/expanded after filtering/searching actions.
218
-
219
- ## 17.1.1-beta (2019-01-29)
220
-
221
- ### TreeGrid
222
-
223
- #### Bug Fixes
224
-
225
- - `Query` maintenance support provided for `refresh` method after expanding any child rows.
226
- - Property change support for `height` property has been provided.
227
- - Expand icon is prevented from displaying for the root/zeroth level record which has `hasChildMapping` field as false.
228
- - Child records of third level or its successor displays properly based on their hierarchy relation in self reference data binding.
229
-
230
- #### New Features
231
-
232
- - `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.
233
-
234
- ## 16.4.45 (2019-01-02)
235
-
236
- ### TreeGrid
237
-
238
- #### Bug Fixes
239
-
240
- - Added events for the column menu feature and added `columnMenuItems` API to modify the column menu items in column menu.
241
- - Added `sortComparer` API to perform custom sorting in TreeGrid.
242
-
243
- ## 16.4.44 (2018-12-24)
244
-
245
- ### TreeGrid
246
-
247
- #### Bug Fixes
248
-
249
- - Expanding and Collapsing records is working fine when `pageSizeMode` is set as `All`.
250
- - `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
- }