@syncfusion/ej2-treegrid 20.3.56 → 20.3.57
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 +7 -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 +13 -3
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +13 -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 +7 -7
- package/src/treegrid/actions/selection.js +9 -3
- package/src/treegrid/base/treegrid.js +4 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.3.
|
|
3
|
+
* version : 20.3.57
|
|
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.3.
|
|
3
|
+
"_id": "@syncfusion/ej2-treegrid@20.3.56",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-ZAWBrlsjksXEtMMIovA/Ap7hmnBH2KBvWv4wira+Ecus1mosr3hioA6+cJTNti6pG3E8PPWg2wYtoEOKq4COPw==",
|
|
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.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-20.3.
|
|
28
|
-
"_shasum": "
|
|
27
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-20.3.56.tgz",
|
|
28
|
+
"_shasum": "3bfc176798654d335c51e97f970768de16b77547",
|
|
29
29
|
"_spec": "@syncfusion/ej2-treegrid@*",
|
|
30
30
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
31
31
|
"author": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@syncfusion/ej2-base": "~20.3.56",
|
|
40
40
|
"@syncfusion/ej2-data": "~20.3.56",
|
|
41
|
-
"@syncfusion/ej2-grids": "~20.3.
|
|
42
|
-
"@syncfusion/ej2-popups": "~20.3.
|
|
41
|
+
"@syncfusion/ej2-grids": "~20.3.57",
|
|
42
|
+
"@syncfusion/ej2-popups": "~20.3.57"
|
|
43
43
|
},
|
|
44
44
|
"deprecated": false,
|
|
45
45
|
"description": "Essential JS 2 TreeGrid Component",
|
|
@@ -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.3.
|
|
63
|
+
"version": "20.3.57",
|
|
64
64
|
"sideEffects": false
|
|
65
65
|
}
|
|
@@ -295,9 +295,15 @@ var Selection = /** @class */ (function () {
|
|
|
295
295
|
this.filteredList = this.searchingRecords;
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
|
-
var data
|
|
299
|
-
|
|
300
|
-
this.parent.
|
|
298
|
+
var data;
|
|
299
|
+
if (this.parent.filterModule.filteredResult.length === 0 && this.parent.getCurrentViewRecords().length === 0 &&
|
|
300
|
+
this.parent.filterSettings.columns.length > 0) {
|
|
301
|
+
data = this.filteredList;
|
|
302
|
+
}
|
|
303
|
+
else {
|
|
304
|
+
data = (!isNullOrUndefined(this.parent.filterModule) &&
|
|
305
|
+
(this.filteredList.length > 0)) ? this.filteredList : this.parent.flatData;
|
|
306
|
+
}
|
|
301
307
|
data = isRemoteData(this.parent) ? this.parent.getCurrentViewRecords() : data;
|
|
302
308
|
if (!isNullOrUndefined(checkAll)) {
|
|
303
309
|
for (var i = 0; i < data.length; i++) {
|
|
@@ -2921,6 +2921,10 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
2921
2921
|
this.localExpand(action, row, record);
|
|
2922
2922
|
}
|
|
2923
2923
|
}
|
|
2924
|
+
if (!isNullOrUndefined(targetEle) && targetEle.closest('.e-treerowcell').classList.contains('e-cellselectionbackground')) {
|
|
2925
|
+
targetEle.closest('.e-treerowcell').classList.remove('e-cellselectionbackground');
|
|
2926
|
+
targetEle.closest('.e-treerowcell').removeAttribute('aria-selected');
|
|
2927
|
+
}
|
|
2924
2928
|
if (this.isPixelHeight() && !row.cells[0].classList.contains('e-lastrowcell')) {
|
|
2925
2929
|
var totalRows = this.getRows();
|
|
2926
2930
|
var rows = this.getContentTable().rows;
|