@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
|
@@ -5826,7 +5826,7 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
5826
5826
|
record = this.grid.getCurrentViewRecords()[row.getAttribute('data-rowindex')];
|
|
5827
5827
|
}
|
|
5828
5828
|
else {
|
|
5829
|
-
record = this.grid.getCurrentViewRecords()[row.
|
|
5829
|
+
record = this.grid.getCurrentViewRecords()[parseInt(row.getAttribute('data-rowindex'), 10)];
|
|
5830
5830
|
}
|
|
5831
5831
|
}
|
|
5832
5832
|
return record;
|
|
@@ -6350,8 +6350,8 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
6350
6350
|
});
|
|
6351
6351
|
}
|
|
6352
6352
|
var gridRowsObject = this.grid.getRowsObject();
|
|
6353
|
-
if (gridRowsObject[record.
|
|
6354
|
-
gridRowsObject[record
|
|
6353
|
+
if (!isNullOrUndefined(gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible) && gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible !== false) {
|
|
6354
|
+
gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible = true;
|
|
6355
6355
|
}
|
|
6356
6356
|
var detailrows = gridRows.filter(function (r) {
|
|
6357
6357
|
return r.classList.contains('e-griddetailrowindex' + record.index + 'level' + (record.level + 1));
|
|
@@ -6362,10 +6362,9 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
6362
6362
|
}
|
|
6363
6363
|
if (!isNullOrUndefined(rows[i]) && !this.allowPaging && !(this.enableVirtualization || this.enableInfiniteScrolling || isRemoteData(this) || isCountRequired(this))) {
|
|
6364
6364
|
gridRowsObject[rows[i].rowIndex].visible = displayAction != 'none' ? true : false;
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
}
|
|
6365
|
+
var parentRecord = getValue('uniqueIDCollection.' + record.parentUniqueID, this);
|
|
6366
|
+
if (!isNullOrUndefined(parentRecord) && gridRows[this.getCurrentViewRecords().indexOf(parentRecord)].getElementsByClassName('e-treegridcollapse').length) {
|
|
6367
|
+
gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible = false;
|
|
6369
6368
|
}
|
|
6370
6369
|
}
|
|
6371
6370
|
if (!isNullOrUndefined(movableRows)) {
|