Skip to content

Commit

Permalink
fix row grouping when using pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoschndlr committed Aug 28, 2024
1 parent 1f6c5d9 commit 8f3af26
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 @@ -3084,7 +3084,7 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable
template: `
<ng-container *ngIf="!dt.expandedRowTemplate">
<ng-template ngFor let-rowData let-rowIndex="index" [ngForOf]="value" [ngForTrackBy]="dt.rowTrackBy">
<ng-container *ngIf="dt.groupHeaderTemplate && !dt.virtualScroll && dt.rowGroupMode === 'subheader' && shouldRenderRowGroupHeader(value, rowData, rowIndex)" role="row">
<ng-container *ngIf="dt.groupHeaderTemplate && !dt.virtualScroll && dt.rowGroupMode === 'subheader' && shouldRenderRowGroupHeader(value, rowData, getRowIndex(rowIndex))" role="row">
<ng-container
*ngTemplateOutlet="dt.groupHeaderTemplate; context: { $implicit: rowData, rowIndex: getRowIndex(rowIndex), columns: columns, editing: dt.editMode === 'row' && dt.isRowEditing(rowData), frozen: frozen }"
></ng-container>
Expand Down

0 comments on commit 8f3af26

Please sign in to comment.