@syncfusion/ej2-treegrid 22.2.9 → 23.1.36
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.
- package/CHANGELOG.md +14 -51
- package/dist/ej2-treegrid.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js.map +1 -1
- package/dist/es6/ej2-treegrid.es2015.js +219 -327
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +218 -350
- package/dist/es6/ej2-treegrid.es5.js.map +1 -1
- package/dist/global/ej2-treegrid.min.js +2 -2
- package/dist/global/ej2-treegrid.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +10 -10
- package/src/treegrid/actions/batch-edit.js +2 -28
- package/src/treegrid/actions/crud-actions.js +1 -1
- package/src/treegrid/actions/edit.js +6 -52
- package/src/treegrid/actions/excel-export.d.ts +2 -2
- package/src/treegrid/actions/freeze-column.d.ts +0 -1
- package/src/treegrid/actions/freeze-column.js +4 -36
- package/src/treegrid/actions/infinite-scroll.js +8 -8
- package/src/treegrid/actions/pdf-export.d.ts +2 -2
- package/src/treegrid/actions/selection.js +1 -1
- package/src/treegrid/actions/virtual-scroll.js +6 -8
- package/src/treegrid/base/data.js +20 -4
- package/src/treegrid/base/treegrid-model.d.ts +8 -1
- package/src/treegrid/base/treegrid.d.ts +69 -1
- package/src/treegrid/base/treegrid.js +160 -34
- package/src/treegrid/models/column.d.ts +1 -0
- package/src/treegrid/renderer/virtual-row-model-generator.js +4 -4
- package/src/treegrid/renderer/virtual-tree-content-render.d.ts +0 -1
- package/src/treegrid/renderer/virtual-tree-content-render.js +9 -21
- package/styles/material-dark.css +0 -1
- package/styles/material.css +0 -1
- package/styles/material3-dark.css +0 -1
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +0 -1
- package/styles/material3.scss +1 -1
- package/styles/tailwind-dark.css +0 -1
- package/styles/tailwind.css +0 -1
- package/styles/treegrid/bootstrap-dark.scss +1 -1
- package/styles/treegrid/bootstrap.scss +1 -1
- package/styles/treegrid/bootstrap4.scss +1 -1
- package/styles/treegrid/bootstrap5-dark.scss +1 -1
- package/styles/treegrid/bootstrap5.scss +1 -1
- package/styles/treegrid/fabric-dark.scss +1 -1
- package/styles/treegrid/fabric.scss +1 -1
- package/styles/treegrid/fluent-dark.scss +1 -1
- package/styles/treegrid/fluent.scss +1 -1
- package/styles/treegrid/highcontrast-light.scss +1 -1
- package/styles/treegrid/highcontrast.scss +1 -1
- package/styles/treegrid/material-dark.css +0 -1
- package/styles/treegrid/material-dark.scss +1 -1
- package/styles/treegrid/material.css +0 -1
- package/styles/treegrid/material.scss +1 -1
- package/styles/treegrid/material3-dark.css +0 -1
- package/styles/treegrid/material3-dark.scss +1 -1
- package/styles/treegrid/material3.css +0 -1
- package/styles/treegrid/material3.scss +1 -1
- package/styles/treegrid/tailwind-dark.css +0 -1
- package/styles/treegrid/tailwind-dark.scss +1 -1
- package/styles/treegrid/tailwind.css +0 -1
- package/styles/treegrid/tailwind.scss +1 -1
- package/src/treegrid/renderer/virtual-tree-freeze-render.d.ts +0 -59
- package/src/treegrid/renderer/virtual-tree-freeze-render.js +0 -163
package/CHANGELOG.md
CHANGED
|
@@ -2,52 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
-
## 22.2.7 (2023-08-02)
|
|
6
|
-
|
|
7
|
-
### Tree Grid
|
|
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
5
|
### Tree Grid
|
|
34
6
|
|
|
35
|
-
####
|
|
7
|
+
#### Features
|
|
36
8
|
|
|
37
|
-
- `#
|
|
38
|
-
- `#I471838` - Resolved white space issue occurred in virtualization feature when changing the page size using databound event.
|
|
9
|
+
- `#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
10
|
|
|
40
|
-
|
|
11
|
+
- 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
12
|
|
|
42
|
-
|
|
13
|
+
#### Breaking changes
|
|
43
14
|
|
|
44
|
-
|
|
15
|
+
- 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
16
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
17
|
+
Deprecated Methods | Previous | Current | Suggested Alternative Methods
|
|
18
|
+
--- | --- | --- | ---
|
|
19
|
+
| `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()` |
|
|
20
|
+
`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()`
|
|
21
|
+
`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()`
|
|
22
|
+
`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()`
|
|
23
|
+
`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()`
|
|
24
|
+
`getMovableColumnHeaderByIndex()` <br> `getFrozenRightColumnHeaderByIndex()` <br> `getFrozenLeftColumnHeaderByIndex()` | These methods select the movable, right freeze, and left freeze headers from the table separately. | No change | `getColumnHeaderByIndex`()
|
|
49
25
|
|
|
50
|
-
##
|
|
26
|
+
## 20.2.36 (2022-06-30)
|
|
51
27
|
|
|
52
28
|
### Tree Grid
|
|
53
29
|
|
|
@@ -56,19 +32,6 @@
|
|
|
56
32
|
- 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
33
|
- `#I323425`, `#I332700`, `#I344742`, `#I375307` - Provided support for frozen column with virtualization enabled.
|
|
58
34
|
|
|
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
35
|
## 19.2.44 (2021-06-30)
|
|
73
36
|
|
|
74
37
|
### Tree Grid
|