@syncfusion/ej2-treegrid 24.2.4 → 24.2.7
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 +19 -0
- 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 +5 -7
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +5 -7
- 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/actions/edit.js +2 -2
- package/src/treegrid/actions/excel-export.js +3 -1
- package/src/treegrid/base/treegrid.js +0 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 24.2.
|
|
3
|
+
* version : 24.2.7
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@24.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-treegrid@24.2.5",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-/ddOZwHICi92QoxX5p1kwqFtc4cIVL8JJgo5IR11sNJ+SsPcde2ao/eIGTPgii6SpdV24cWcj3vZHXFqUKk9Fg==",
|
|
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.
|
|
28
|
-
"_shasum": "
|
|
27
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-24.2.5.tgz",
|
|
28
|
+
"_shasum": "00dfe46c48c665b1e18b46a0193867238dd9dcae",
|
|
29
29
|
"_spec": "@syncfusion/ej2-treegrid@*",
|
|
30
30
|
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
|
|
31
31
|
"author": {
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
},
|
|
37
37
|
"bundleDependencies": false,
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@syncfusion/ej2-base": "~24.2.
|
|
39
|
+
"@syncfusion/ej2-base": "~24.2.7",
|
|
40
40
|
"@syncfusion/ej2-data": "~24.2.3",
|
|
41
|
-
"@syncfusion/ej2-grids": "~24.2.
|
|
42
|
-
"@syncfusion/ej2-popups": "~24.2.
|
|
41
|
+
"@syncfusion/ej2-grids": "~24.2.7",
|
|
42
|
+
"@syncfusion/ej2-popups": "~24.2.5"
|
|
43
43
|
},
|
|
44
44
|
"deprecated": false,
|
|
45
45
|
"description": "Essential JS 2 TreeGrid Component",
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
"url": "git+https://github.com/syncfusion/ej2-treegrid.git"
|
|
67
67
|
},
|
|
68
68
|
"typings": "index.d.ts",
|
|
69
|
-
"version": "24.2.
|
|
69
|
+
"version": "24.2.7",
|
|
70
70
|
"sideEffects": false
|
|
71
71
|
}
|
|
@@ -809,8 +809,8 @@ var Edit = /** @class */ (function () {
|
|
|
809
809
|
this.addRowRecord = this.parent.flatData[args.index];
|
|
810
810
|
this.addRowIndex = args.index;
|
|
811
811
|
}
|
|
812
|
-
if (this.parent.editSettings.newRowPosition === 'Child' &&
|
|
813
|
-
|
|
812
|
+
if (this.parent.editSettings.newRowPosition === 'Child' &&
|
|
813
|
+
!isNullOrUndefined(this.parent.getSelectedRecords()[0])) {
|
|
814
814
|
this.addRowRecord = this.parent.getSelectedRecords()[0];
|
|
815
815
|
}
|
|
816
816
|
if (isNullOrUndefined(this.addRowRecord) && this.parent.getCurrentViewRecords().length > this.addRowIndex &&
|
|
@@ -145,7 +145,9 @@ var ExcelExport = /** @class */ (function () {
|
|
|
145
145
|
}
|
|
146
146
|
property = isNullOrUndefined(property) ? Object() : property;
|
|
147
147
|
property.dataSource = new DataManager({ json: dtSrc });
|
|
148
|
-
|
|
148
|
+
if (this.parent.aggregates.length > 0) {
|
|
149
|
+
property.query = args['query'];
|
|
150
|
+
}
|
|
149
151
|
return property;
|
|
150
152
|
};
|
|
151
153
|
/**
|
|
@@ -425,8 +425,6 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
425
425
|
}
|
|
426
426
|
summaryElement = this.findnextRowElement(parentTarget);
|
|
427
427
|
if (summaryElement !== null) {
|
|
428
|
-
var rowIndex = summaryElement.rowIndex;
|
|
429
|
-
this.selectRow(rowIndex);
|
|
430
428
|
var cellIndex_1 = e.target.cellIndex;
|
|
431
429
|
var row_1 = summaryElement.children[parseInt(cellIndex_1.toString(), 10)];
|
|
432
430
|
addClass([row_1], 'e-focused');
|
|
@@ -447,8 +445,6 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
447
445
|
}
|
|
448
446
|
summaryElement = this.findPreviousRowElement(parentTarget);
|
|
449
447
|
if (summaryElement !== null) {
|
|
450
|
-
var rIndex = summaryElement.rowIndex;
|
|
451
|
-
this.selectRow(rIndex);
|
|
452
448
|
var cIndex = e.target.cellIndex;
|
|
453
449
|
var rows = summaryElement.children[parseInt(cIndex.toString(), 10)];
|
|
454
450
|
addClass([rows], 'e-focused');
|