@syncfusion/ej2-treegrid 22.2.9 → 23.1.39

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 (64) hide show
  1. package/CHANGELOG.md +15 -50
  2. package/dist/ej2-treegrid.min.js +3 -3
  3. package/dist/ej2-treegrid.umd.min.js +3 -3
  4. package/dist/ej2-treegrid.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-treegrid.es2015.js +234 -328
  6. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  7. package/dist/es6/ej2-treegrid.es5.js +233 -351
  8. package/dist/es6/ej2-treegrid.es5.js.map +1 -1
  9. package/dist/global/ej2-treegrid.min.js +3 -3
  10. package/dist/global/ej2-treegrid.min.js.map +1 -1
  11. package/dist/global/index.d.ts +2 -2
  12. package/package.json +10 -10
  13. package/src/treegrid/actions/batch-edit.js +2 -28
  14. package/src/treegrid/actions/crud-actions.js +1 -1
  15. package/src/treegrid/actions/edit.js +6 -52
  16. package/src/treegrid/actions/excel-export.d.ts +2 -2
  17. package/src/treegrid/actions/freeze-column.d.ts +0 -1
  18. package/src/treegrid/actions/freeze-column.js +4 -36
  19. package/src/treegrid/actions/infinite-scroll.js +8 -8
  20. package/src/treegrid/actions/pdf-export.d.ts +2 -2
  21. package/src/treegrid/actions/rowdragdrop.js +3 -1
  22. package/src/treegrid/actions/selection.js +1 -1
  23. package/src/treegrid/actions/virtual-scroll.js +6 -8
  24. package/src/treegrid/base/data.js +20 -4
  25. package/src/treegrid/base/treegrid-model.d.ts +8 -1
  26. package/src/treegrid/base/treegrid.d.ts +69 -1
  27. package/src/treegrid/base/treegrid.js +172 -34
  28. package/src/treegrid/models/column.d.ts +1 -0
  29. package/src/treegrid/renderer/virtual-row-model-generator.js +4 -4
  30. package/src/treegrid/renderer/virtual-tree-content-render.d.ts +0 -1
  31. package/src/treegrid/renderer/virtual-tree-content-render.js +9 -21
  32. package/styles/material-dark.css +0 -1
  33. package/styles/material.css +0 -1
  34. package/styles/material3-dark.css +0 -1
  35. package/styles/material3-dark.scss +1 -1
  36. package/styles/material3.css +0 -1
  37. package/styles/material3.scss +1 -1
  38. package/styles/tailwind-dark.css +0 -1
  39. package/styles/tailwind.css +0 -1
  40. package/styles/treegrid/bootstrap-dark.scss +1 -1
  41. package/styles/treegrid/bootstrap.scss +1 -1
  42. package/styles/treegrid/bootstrap4.scss +1 -1
  43. package/styles/treegrid/bootstrap5-dark.scss +1 -1
  44. package/styles/treegrid/bootstrap5.scss +1 -1
  45. package/styles/treegrid/fabric-dark.scss +1 -1
  46. package/styles/treegrid/fabric.scss +1 -1
  47. package/styles/treegrid/fluent-dark.scss +1 -1
  48. package/styles/treegrid/fluent.scss +1 -1
  49. package/styles/treegrid/highcontrast-light.scss +1 -1
  50. package/styles/treegrid/highcontrast.scss +1 -1
  51. package/styles/treegrid/material-dark.css +0 -1
  52. package/styles/treegrid/material-dark.scss +1 -1
  53. package/styles/treegrid/material.css +0 -1
  54. package/styles/treegrid/material.scss +1 -1
  55. package/styles/treegrid/material3-dark.css +0 -1
  56. package/styles/treegrid/material3-dark.scss +1 -1
  57. package/styles/treegrid/material3.css +0 -1
  58. package/styles/treegrid/material3.scss +1 -1
  59. package/styles/treegrid/tailwind-dark.css +0 -1
  60. package/styles/treegrid/tailwind-dark.scss +1 -1
  61. package/styles/treegrid/tailwind.css +0 -1
  62. package/styles/treegrid/tailwind.scss +1 -1
  63. package/src/treegrid/renderer/virtual-tree-freeze-render.d.ts +0 -59
  64. package/src/treegrid/renderer/virtual-tree-freeze-render.js +0 -163
package/CHANGELOG.md CHANGED
@@ -2,52 +2,30 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## 22.2.7 (2023-08-02)
5
+ ## 23.1.36 (2023-09-15)
6
6
 
7
7
  ### Tree Grid
8
8
 
9
- #### Bug fixes
10
-
11
- - `#I483217` - Fixed an issue where the column template was not functioning correctly when the `getpersistdata` method was used.
12
-
13
- ## 22.1.39 (2023-07-18)
14
-
15
- ### Tree Grid
16
-
17
- #### Bug fixes
18
-
19
- - `#I478636`, `#F183159` - Fixed the issue where an unwanted tooltip was being displayed in the checkbox column feature.
20
-
21
- ## 22.1.38 (2023-07-11)
22
-
23
- ### Tree Grid
24
-
25
- #### Bug fixes
26
-
27
- - `#I471838` - Fixed a bug in the virtualization feature that caused a white space issue when changing the page size using the `databound` event.
28
- - `#I459187` - Fixed an issue where a white space would occur when deleting a parent record in virtualization.
29
- - `#F182900` - Fixed the issue where the newly added form was placed incorrectly when selecting two records and performing an add action.
30
-
31
- ## 22.1.37 (2023-07-04)
32
-
33
- ### Tree Grid
34
-
35
- #### Bug fixes
9
+ #### Features
36
10
 
37
- - `#I461924`, `#I473131` - Resolved the collapsed event multiple times triggered issue in virtualization enabled samples.
38
- - `#I471838` - Resolved white space issue occurred in virtualization feature when changing the page size using databound event.
11
+ - `#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).
39
12
 
40
- ## 22.1.36 (2023-06-28)
13
+ - 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.
41
14
 
42
- ### Tree Grid
15
+ #### Breaking changes
43
16
 
44
- #### Bug fixes
17
+ - 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 deprecated, and it's recommended to use the following alternatives instead.
45
18
 
46
- - `#I469071` - Fixed issue where scrolling down using the scroll bar would cause some records to not be displayed and scrolling using the mouse would repeat some records in virtualization.
47
- - `#F182421` - Fixed an issue where the stacked column was not functioning properly when resizing was enabled in the treegrid.
48
- - `#I182710` - Fixed an issue where the child aggregates row would display in the current view records.
19
+ Deprecated Methods | Previous | Current | Suggested Alternative Methods
20
+ --- | --- | --- | ---
21
+ | `getMoavableRows` | This method returns only the movable table rows `(tr's)`. | This method will return all table rows `(tr's)` of the entire table. The movable cells within the tr element can be selected using the `e-unfreeze` class. | `getRows()` |
22
+ `getFrozenRightRows()` | This method returns only the table rows `(tr's)` from the freeze right table. | This method will return all the rows `(tr’s)` of the entire table. The frozen right cells can be selected using the `e-rightfreeze` class. | `getRows()`
23
+ `getMovableRowByIndex()` <br> `getFrozenRightRowByIndex()` | * `getMovableRowByIndex` - select a movable row <br> *`getFrozenRightRowByIndex` - select a right freeze row. | This method will return the table row `(tr)` based on the given index. Additionally, class names for table cells `(td's)` have been separated as follows: <br> * Left-Freeze: `e-leftfreeze` <br> * Movable: `e-unfreeze` <br> | `getRowByIndex()`
24
+ `getMovableCellFromIndex()` <br> `getFrozenRightCellFromIndex()` | * `getMovableCellFromIndex()` - select a particular cell in the movable table. <br> *`getFrozenRightCellFromIndex()` - select a particular cell in the right freeze table.|No change| `getCellFromIndex()`
25
+ `getMovableDataRows()` <br> `getFrozenRightDataRows()` | These methods return the viewport data rows for the freeze, movable tables separately. | This method, will return the entire viewport data rows.| `getDataRows()`
26
+ `getMovableColumnHeaderByIndex()` <br> `getFrozenRightColumnHeaderByIndex()` <br> `getFrozenLeftColumnHeaderByIndex()` | These methods select the movable, right freeze, and left freeze headers from the table separately. | No change | `getColumnHeaderByIndex`()
49
27
 
50
- ## 22.1.34 (2023-06-21)
28
+ ## 20.2.36 (2022-06-30)
51
29
 
52
30
  ### Tree Grid
53
31
 
@@ -56,19 +34,6 @@
56
34
  - Provided support for inline editing with virtualization enabled. Please find the demo [here](https://ej2.syncfusion.com/demos/#/bootstrap5/tree-grid/virtual-scrolling.html).
57
35
  - `#I323425`, `#I332700`, `#I344742`, `#I375307` - Provided support for frozen column with virtualization enabled.
58
36
 
59
- ## 20.2.36 (2022-06-30)
60
-
61
- ### Tree Grid
62
-
63
- #### Bug fixes
64
-
65
- - `#I379907` - Resolved editing for the dropdown edit type column with state persistence enabled.
66
-
67
- #### Features
68
-
69
- - `#I334966`, `#I373929`, `#I332693`, `#I342835`, `#F172606`, `#F171250`, `#F171248` - Provided row drag and drop support with virtualization feature enabled.
70
- - `#I367483` - Provided support for row indent and outdent functionality. Please find the demo link [here](https://ej2.syncfusion.com/demos/#/bootstrap5/tree-grid/inline-editing).
71
-
72
37
  ## 19.2.44 (2021-06-30)
73
38
 
74
39
  ### Tree Grid