@syncfusion/ej2-treegrid 28.2.3 → 28.2.6
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/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 +11 -3
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +11 -3
- 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 +8 -8
- package/src/treegrid/base/data.js +1 -1
- package/src/treegrid/renderer/virtual-tree-content-render.js +10 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 28.2.
|
|
3
|
+
* version : 28.2.6
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-treegrid@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-treegrid@28.
|
|
3
|
+
"_id": "@syncfusion/ej2-treegrid@28.2.4",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-LR3rp7Rxe2l2KuU20TPiAcD4GGDLXZ/lGpyMEceJ3n8iSHDT7Y/94dnrvxEXuLUefHURrPj3rIheiFGk3/XLoA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-treegrid",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"/@syncfusion/ej2-react-treegrid",
|
|
25
25
|
"/@syncfusion/ej2-vue-treegrid"
|
|
26
26
|
],
|
|
27
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-28.
|
|
28
|
-
"_shasum": "
|
|
27
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-28.2.4.tgz",
|
|
28
|
+
"_shasum": "6d3fe8abf7e2c9f66bbe90db17d30661025eee76",
|
|
29
29
|
"_spec": "@syncfusion/ej2-treegrid@*",
|
|
30
30
|
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
|
31
31
|
"author": {
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
},
|
|
37
37
|
"bundleDependencies": false,
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@syncfusion/ej2-base": "~28.2.
|
|
39
|
+
"@syncfusion/ej2-base": "~28.2.5",
|
|
40
40
|
"@syncfusion/ej2-data": "~28.2.3",
|
|
41
|
-
"@syncfusion/ej2-grids": "~28.2.
|
|
42
|
-
"@syncfusion/ej2-popups": "~28.2.
|
|
41
|
+
"@syncfusion/ej2-grids": "~28.2.6",
|
|
42
|
+
"@syncfusion/ej2-popups": "~28.2.6"
|
|
43
43
|
},
|
|
44
44
|
"deprecated": false,
|
|
45
45
|
"description": "Essential JS 2 TreeGrid Component",
|
|
@@ -76,6 +76,6 @@
|
|
|
76
76
|
"url": "git+https://github.com/syncfusion/ej2-treegrid.git"
|
|
77
77
|
},
|
|
78
78
|
"typings": "index.d.ts",
|
|
79
|
-
"version": "28.2.
|
|
79
|
+
"version": "28.2.6",
|
|
80
80
|
"sideEffects": false
|
|
81
81
|
}
|
|
@@ -369,7 +369,7 @@ var DataManipulation = /** @class */ (function () {
|
|
|
369
369
|
qry.expand(expandDetail);
|
|
370
370
|
}
|
|
371
371
|
qry.where(this.parent.parentIdMapping, 'equal', rowDetails.record[this.parent.idMapping]);
|
|
372
|
-
if (rowDetails.action === 'remoteExpand' && this.parent.grid.
|
|
372
|
+
if (rowDetails.action === 'remoteExpand' && this.parent.grid.filterSettings && this.parent.grid.filterSettings.columns.length) {
|
|
373
373
|
var filterqry = this.parent.grid.getDataModule().generateQuery().queries.filter(function (e) { return e.fn !== 'onPage' && typeof e.e.predicates !== 'undefined'; });
|
|
374
374
|
qry.queries.push(filterqry[0]);
|
|
375
375
|
}
|
|
@@ -245,8 +245,16 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
245
245
|
if (isNullOrUndefined(this.observer["" + containerRect])) {
|
|
246
246
|
this.observer["" + containerRect] = this.observers["" + containerRect];
|
|
247
247
|
}
|
|
248
|
-
|
|
249
|
-
|
|
248
|
+
var treeGridParent = this.parent.clipboardModule['treeGridParent'];
|
|
249
|
+
if (isNullOrUndefined(treeGridParent.editModule) ||
|
|
250
|
+
isNullOrUndefined(treeGridParent.editModule['addRowIndex']) || args.selectedIndex !== 0) {
|
|
251
|
+
if (!isNullOrUndefined(treeGridParent.grid.sortModule) && treeGridParent.grid.sortModule['sortedColumns'].length > 0) {
|
|
252
|
+
var sortedData = treeGridParent.dataModule['sortedData'];
|
|
253
|
+
if (!isNullOrUndefined(sortedData) && sortedData.length > 0) {
|
|
254
|
+
var targetIndex = sortedData.findIndex(function (record) { return record.index === args.selectedIndex; });
|
|
255
|
+
args.selectedIndex = targetIndex;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
250
258
|
_super.prototype["" + selectVirtualRow].call(this, args);
|
|
251
259
|
}
|
|
252
260
|
};
|