@syncfusion/ej2-treegrid 20.3.60 → 20.3.61
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 +8 -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 +6 -7
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +6 -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 +6 -6
- package/src/treegrid/base/treegrid.js +6 -7
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.61
|
|
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.60",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-vwUG87xUw7K5Ch2OYXIlI++Ggg2Pia/d5s6TvuLEepSbrtZ17YNTg1M0Q/SuTAkQLY3dSYdapNhdPDxs2cQU5g==",
|
|
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.60.tgz",
|
|
28
|
+
"_shasum": "ae56ea6b799c2789f20f1c4918efc5ee5f3f065d",
|
|
29
29
|
"_spec": "@syncfusion/ej2-treegrid@*",
|
|
30
30
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
31
31
|
"author": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@syncfusion/ej2-base": "~20.3.56",
|
|
40
40
|
"@syncfusion/ej2-data": "~20.3.60",
|
|
41
|
-
"@syncfusion/ej2-grids": "~20.3.
|
|
41
|
+
"@syncfusion/ej2-grids": "~20.3.61",
|
|
42
42
|
"@syncfusion/ej2-popups": "~20.3.60"
|
|
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.3.
|
|
63
|
+
"version": "20.3.61",
|
|
64
64
|
"sideEffects": false
|
|
65
65
|
}
|
|
@@ -2578,7 +2578,7 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
2578
2578
|
record = this.grid.getCurrentViewRecords()[row.getAttribute('data-rowindex')];
|
|
2579
2579
|
}
|
|
2580
2580
|
else {
|
|
2581
|
-
record = this.grid.getCurrentViewRecords()[row.
|
|
2581
|
+
record = this.grid.getCurrentViewRecords()[parseInt(row.getAttribute('data-rowindex'), 10)];
|
|
2582
2582
|
}
|
|
2583
2583
|
}
|
|
2584
2584
|
return record;
|
|
@@ -3102,8 +3102,8 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
3102
3102
|
});
|
|
3103
3103
|
}
|
|
3104
3104
|
var gridRowsObject = this.grid.getRowsObject();
|
|
3105
|
-
if (gridRowsObject[record.
|
|
3106
|
-
gridRowsObject[record
|
|
3105
|
+
if (!isNullOrUndefined(gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible) && gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible !== false) {
|
|
3106
|
+
gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible = true;
|
|
3107
3107
|
}
|
|
3108
3108
|
var detailrows = gridRows.filter(function (r) {
|
|
3109
3109
|
return r.classList.contains('e-griddetailrowindex' + record.index + 'level' + (record.level + 1));
|
|
@@ -3114,10 +3114,9 @@ var TreeGrid = /** @class */ (function (_super) {
|
|
|
3114
3114
|
}
|
|
3115
3115
|
if (!isNullOrUndefined(rows[i]) && !this.allowPaging && !(this.enableVirtualization || this.enableInfiniteScrolling || isRemoteData(this) || isCountRequired(this))) {
|
|
3116
3116
|
gridRowsObject[rows[i].rowIndex].visible = displayAction != 'none' ? true : false;
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
}
|
|
3117
|
+
var parentRecord = getValue('uniqueIDCollection.' + record.parentUniqueID, this);
|
|
3118
|
+
if (!isNullOrUndefined(parentRecord) && gridRows[this.getCurrentViewRecords().indexOf(parentRecord)].getElementsByClassName('e-treegridcollapse').length) {
|
|
3119
|
+
gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible = false;
|
|
3121
3120
|
}
|
|
3122
3121
|
}
|
|
3123
3122
|
if (!isNullOrUndefined(movableRows)) {
|