Skip to content

Commit

Permalink
Table | Expandable rows broken with paginator #13783
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondrej Skotnica committed Feb 1, 2024
1 parent 13cf724 commit c441142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3183,7 +3183,7 @@ export class TableBody implements AfterViewInit, OnDestroy {

shouldRenderRowGroupFooter(value: any, rowData: any, i: number) {
let currentRowFieldData = ObjectUtils.resolveFieldData(rowData, this.dt.groupRowsBy);
let nextRowData = value[i - (1 + this.dt._first)];
let nextRowData = value[i + (1 + this.dt._first)];
if (nextRowData) {
let nextRowFieldData = ObjectUtils.resolveFieldData(nextRowData, this.dt.groupRowsBy);
return currentRowFieldData !== nextRowFieldData;
Expand Down

0 comments on commit c441142

Please sign in to comment.