@syncfusion/ej2-treegrid 20.4.44 → 20.4.48
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 +5 -0
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +5 -0
- 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 +9 -9
- package/src/treegrid/base/treegrid.js +5 -0
|
@@ -6128,6 +6128,11 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
|
|
|
6128
6128
|
if ((!isCountRequired(this) || childRecords.length) || action === 'collapse') {
|
|
6129
6129
|
this.localExpand(action, row, record);
|
|
6130
6130
|
}
|
|
6131
|
+
const lastrowIdx = this.getVisibleRecords()[this.getVisibleRecords().length - 1]['index'];
|
|
6132
|
+
const lastRow = this.getRowByIndex(lastrowIdx);
|
|
6133
|
+
if (this.grid.getContentTable().clientHeight <= this.grid.getContent().clientHeight && !isNullOrUndefined(lastRow) && !lastRow.cells[0].classList.contains('e-lastrowcell')) {
|
|
6134
|
+
this.lastRowBorder(lastRow, true);
|
|
6135
|
+
}
|
|
6131
6136
|
}
|
|
6132
6137
|
if (isCountRequired(this) && action === 'expand') {
|
|
6133
6138
|
this.dataResults.result = this.getCurrentViewRecords();
|