@syncfusion/ej2-treegrid 25.2.5 → 26.1.35

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 (103) hide show
  1. package/.eslintrc.json +3 -2
  2. package/dist/ej2-treegrid.min.js +2 -2
  3. package/dist/ej2-treegrid.umd.min.js +2 -2
  4. package/dist/ej2-treegrid.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-treegrid.es2015.js +629 -464
  6. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  7. package/dist/es6/ej2-treegrid.es5.js +929 -763
  8. package/dist/es6/ej2-treegrid.es5.js.map +1 -1
  9. package/dist/global/ej2-treegrid.min.js +2 -2
  10. package/dist/global/ej2-treegrid.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +10 -10
  13. package/src/treegrid/actions/edit.js +8 -7
  14. package/src/treegrid/actions/excel-export.js +4 -3
  15. package/src/treegrid/actions/page.js +4 -0
  16. package/src/treegrid/actions/rowdragdrop.js +17 -11
  17. package/src/treegrid/actions/selection.js +4 -1
  18. package/src/treegrid/base/constant.d.ts +2 -0
  19. package/src/treegrid/base/constant.js +2 -0
  20. package/src/treegrid/base/data.js +2 -1
  21. package/src/treegrid/base/interface.js +0 -1
  22. package/src/treegrid/base/treegrid-model.d.ts +1 -1
  23. package/src/treegrid/base/treegrid.d.ts +3 -0
  24. package/src/treegrid/base/treegrid.js +230 -62
  25. package/src/treegrid/renderer/render.js +3 -1
  26. package/src/treegrid/renderer/virtual-row-model-generator.js +2 -2
  27. package/src/treegrid/renderer/virtual-tree-content-render.js +2 -1
  28. package/styles/bootstrap-dark.css +76 -48
  29. package/styles/bootstrap-dark.scss +18 -1
  30. package/styles/bootstrap.css +76 -49
  31. package/styles/bootstrap.scss +18 -1
  32. package/styles/bootstrap4.css +77 -48
  33. package/styles/bootstrap4.scss +18 -1
  34. package/styles/bootstrap5-dark.css +77 -49
  35. package/styles/bootstrap5-dark.scss +18 -1
  36. package/styles/bootstrap5.css +77 -49
  37. package/styles/bootstrap5.scss +18 -1
  38. package/styles/fabric-dark.css +74 -47
  39. package/styles/fabric-dark.scss +18 -1
  40. package/styles/fabric.css +74 -47
  41. package/styles/fabric.scss +18 -1
  42. package/styles/fluent-dark.css +77 -49
  43. package/styles/fluent-dark.scss +18 -1
  44. package/styles/fluent.css +77 -49
  45. package/styles/fluent.scss +18 -1
  46. package/styles/fluent2.css +1721 -0
  47. package/styles/fluent2.scss +18 -0
  48. package/styles/highcontrast-light.css +74 -47
  49. package/styles/highcontrast-light.scss +18 -1
  50. package/styles/highcontrast.css +74 -47
  51. package/styles/highcontrast.scss +18 -1
  52. package/styles/material-dark.css +111 -54
  53. package/styles/material-dark.scss +18 -1
  54. package/styles/material.css +125 -57
  55. package/styles/material.scss +18 -1
  56. package/styles/material3-dark.css +111 -56
  57. package/styles/material3-dark.scss +18 -1
  58. package/styles/material3.css +111 -56
  59. package/styles/material3.scss +18 -1
  60. package/styles/tailwind-dark.css +87 -51
  61. package/styles/tailwind-dark.scss +18 -1
  62. package/styles/tailwind.css +87 -51
  63. package/styles/tailwind.scss +18 -1
  64. package/styles/treegrid/_bds-definition.scss +0 -4
  65. package/styles/treegrid/_bootstrap-dark-definition.scss +0 -1
  66. package/styles/treegrid/_bootstrap-definition.scss +0 -1
  67. package/styles/treegrid/_bootstrap4-definition.scss +0 -1
  68. package/styles/treegrid/_bootstrap5-definition.scss +0 -4
  69. package/styles/treegrid/_bootstrap5.3-definition.scss +24 -0
  70. package/styles/treegrid/_fabric-dark-definition.scss +0 -1
  71. package/styles/treegrid/_fabric-definition.scss +0 -1
  72. package/styles/treegrid/_fluent-definition.scss +0 -4
  73. package/styles/treegrid/_fluent2-definition.scss +24 -0
  74. package/styles/treegrid/_fusionnew-definition.scss +0 -4
  75. package/styles/treegrid/_highcontrast-definition.scss +0 -1
  76. package/styles/treegrid/_highcontrast-light-definition.scss +0 -1
  77. package/styles/treegrid/_layout.scss +81 -85
  78. package/styles/treegrid/_material-dark-definition.scss +0 -1
  79. package/styles/treegrid/_material-definition.scss +0 -1
  80. package/styles/treegrid/_material3-definition.scss +0 -4
  81. package/styles/treegrid/_tailwind-definition.scss +0 -4
  82. package/styles/treegrid/bootstrap-dark.css +76 -48
  83. package/styles/treegrid/bootstrap.css +76 -49
  84. package/styles/treegrid/bootstrap4.css +77 -48
  85. package/styles/treegrid/bootstrap5-dark.css +77 -49
  86. package/styles/treegrid/bootstrap5.css +77 -49
  87. package/styles/treegrid/fabric-dark.css +74 -47
  88. package/styles/treegrid/fabric.css +74 -47
  89. package/styles/treegrid/fluent-dark.css +77 -49
  90. package/styles/treegrid/fluent.css +77 -49
  91. package/styles/treegrid/fluent2.css +1721 -0
  92. package/styles/treegrid/fluent2.scss +18 -0
  93. package/styles/treegrid/highcontrast-light.css +74 -47
  94. package/styles/treegrid/highcontrast.css +74 -47
  95. package/styles/treegrid/icons/_bootstrap5.3.scss +37 -0
  96. package/styles/treegrid/icons/_fluent2.scss +37 -0
  97. package/styles/treegrid/material-dark.css +111 -54
  98. package/styles/treegrid/material.css +125 -57
  99. package/styles/treegrid/material3-dark.css +111 -56
  100. package/styles/treegrid/material3.css +111 -56
  101. package/styles/treegrid/tailwind-dark.css +87 -51
  102. package/styles/treegrid/tailwind.css +87 -51
  103. package/CHANGELOG.md +0 -250
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`.