@syncfusion/ej2-treegrid 20.2.43 → 20.2.44
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 +6 -0
- 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 -3
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +5 -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 +6 -6
- package/src/treegrid/actions/batch-edit.js +2 -1
- package/src/treegrid/actions/filter.js +2 -1
- package/src/treegrid/utils.js +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.2.
|
|
3
|
+
* version : 20.2.44
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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@20.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-treegrid@20.2.43",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-All3AvUDevK49U7XAKoSUYwrSfbkE5eqyYMPppHtd+60ksQ35EmGVPppVPvI035s+PrDJOJvztD5M41JtjkEgw==",
|
|
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": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-20.2.
|
|
28
|
-
"_shasum": "
|
|
27
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-20.2.43.tgz",
|
|
28
|
+
"_shasum": "ce98748e645ea015021c79b70828538d8e5e0107",
|
|
29
29
|
"_spec": "@syncfusion/ej2-treegrid@*",
|
|
30
30
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
31
31
|
"author": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@syncfusion/ej2-base": "~20.2.43",
|
|
40
40
|
"@syncfusion/ej2-data": "~20.2.43",
|
|
41
|
-
"@syncfusion/ej2-grids": "~20.2.
|
|
41
|
+
"@syncfusion/ej2-grids": "~20.2.44",
|
|
42
42
|
"@syncfusion/ej2-popups": "~20.2.43"
|
|
43
43
|
},
|
|
44
44
|
"deprecated": false,
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
"url": "git+https://github.com/syncfusion/ej2-treegrid.git"
|
|
61
61
|
},
|
|
62
62
|
"typings": "index.d.ts",
|
|
63
|
-
"version": "20.2.
|
|
63
|
+
"version": "20.2.44",
|
|
64
64
|
"sideEffects": false
|
|
65
65
|
}
|
|
@@ -241,7 +241,8 @@ var BatchEdit = /** @class */ (function () {
|
|
|
241
241
|
!this.parent.editModule['isAddedRowByContextMenu'] && (this.parent.grid.selectedRowIndex === -1 || this.parent.editModule['batchEditModule'].isAdd)) {
|
|
242
242
|
this.selectedIndex = this.parent.editModule['selectedIndex'];
|
|
243
243
|
this.addRowIndex = this.parent.editModule['addRowIndex'];
|
|
244
|
-
this.addRowRecord = this.batchRecords.length ? this.batchRecords[this.selectedIndex]
|
|
244
|
+
this.addRowRecord = this.batchRecords.length ? this.batchRecords[this.selectedIndex]
|
|
245
|
+
: this.parent.getCurrentViewRecords()[this.selectedIndex];
|
|
245
246
|
}
|
|
246
247
|
else {
|
|
247
248
|
this.selectedIndex = this.parent.grid.selectedRowIndex;
|
|
@@ -155,7 +155,8 @@ var Filter = /** @class */ (function () {
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
else {
|
|
158
|
-
if (parent
|
|
158
|
+
if ((!this.parent.enableCollapseAll || !this.parent.initialRender && isNullOrUndefined(this.parent['dataResults']['result']))
|
|
159
|
+
&& parent['expanded'] === false && this.parent.getVisibleRecords().indexOf(record) === -1) {
|
|
159
160
|
this.parent.expandRow(this.parent.getRows()[parent['index']], parent);
|
|
160
161
|
}
|
|
161
162
|
this.addParentRecord(parent);
|
package/src/treegrid/utils.js
CHANGED
|
@@ -121,7 +121,7 @@ export function findChildrenRecords(records) {
|
|
|
121
121
|
return [];
|
|
122
122
|
}
|
|
123
123
|
if (!isNullOrUndefined(records.childRecords)) {
|
|
124
|
-
var childRecords = records.childRecords.filter(function (
|
|
124
|
+
var childRecords = records.childRecords.filter(function (item) { return !item.isSummaryRow; });
|
|
125
125
|
var keys = Object.keys(childRecords);
|
|
126
126
|
for (var i = 0, len = keys.length; i < len; i++) {
|
|
127
127
|
datas.push(childRecords[i]);
|