Skip to content

Commit 99a14b4

Browse files
authored
Fix change detection in sorting (#410)
1 parent a2cd73f commit 99a14b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/cps-ui-kit/src/lib/components/cps-tree-table/cps-tree-table.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,6 +1343,7 @@ export class CpsTreeTableComponent
13431343
onSort(event: any) {
13441344
this.sorted.emit(event);
13451345
setTimeout(() => {
1346+
this.cdRef.detectChanges();
13461347
this._calcAutoLayoutHeaderWidths(true);
13471348
});
13481349
}

0 commit comments

Comments
 (0)