@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
|
@@ -5565,7 +5565,7 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
5565
5565
|
record = this.grid.getCurrentViewRecords()[row.getAttribute('data-rowindex')];
|
|
5566
5566
|
}
|
|
5567
5567
|
else {
|
|
5568
|
-
record = this.grid.getCurrentViewRecords()[row.
|
|
5568
|
+
record = this.grid.getCurrentViewRecords()[parseInt(row.getAttribute('data-rowindex'), 10)];
|
|
5569
5569
|
}
|
|
5570
5570
|
}
|
|
5571
5571
|
return record;
|
|
@@ -6071,8 +6071,8 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
6071
6071
|
freezeRightRows = this.getFrozenRightRows().filter((r) => r.querySelector('.e-gridrowindex' + record.index + 'level' + (record.level + 1)));
|
|
6072
6072
|
}
|
|
6073
6073
|
let gridRowsObject = this.grid.getRowsObject();
|
|
6074
|
-
if (gridRowsObject[record.
|
|
6075
|
-
gridRowsObject[record
|
|
6074
|
+
if (!isNullOrUndefined(gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible) && gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible !== false) {
|
|
6075
|
+
gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible = true;
|
|
6076
6076
|
}
|
|
6077
6077
|
const detailrows = gridRows.filter((r) => r.classList.contains('e-griddetailrowindex' + record.index + 'level' + (record.level + 1)));
|
|
6078
6078
|
for (let i = 0; i < rows.length; i++) {
|
|
@@ -6081,10 +6081,9 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
6081
6081
|
}
|
|
6082
6082
|
if (!isNullOrUndefined(rows[i]) && !this.allowPaging && !(this.enableVirtualization || this.enableInfiniteScrolling || isRemoteData(this) || isCountRequired(this))) {
|
|
6083
6083
|
gridRowsObject[rows[i].rowIndex].visible = displayAction != 'none' ? true : false;
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
}
|
|
6084
|
+
const parentRecord = getValue('uniqueIDCollection.' + record.parentUniqueID, this);
|
|
6085
|
+
if (!isNullOrUndefined(parentRecord) && gridRows[this.getCurrentViewRecords().indexOf(parentRecord)].getElementsByClassName('e-treegridcollapse').length) {
|
|
6086
|
+
gridRowsObject[this.getCurrentViewRecords().indexOf(record)].visible = false;
|
|
6088
6087
|
}
|
|
6089
6088
|
}
|
|
6090
6089
|
if (!isNullOrUndefined(movableRows)) {
|