Skip to content

Commit

Permalink
fix(Data Tables): Allow updating of column headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Dickerson committed Sep 24, 2024
1 parent 75b9168 commit 54e5972
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ export class NovoDataTable<T> implements AfterContentInit, OnDestroy {
}

public trackColumnsBy(index: number, item: IDataTableColumn<T>) {
return item.id;
return { id: item.id, label: item.label };
}

public isDisabled(check: any, row: T): boolean {
Expand Down

0 comments on commit 54e5972

Please sign in to comment.