@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.
@@ -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();