diff --git a/projects/ngx-datatable/src/lib/components/header/header.component.ts b/projects/ngx-datatable/src/lib/components/header/header.component.ts index 6ad6d36fc..8bb66d30e 100644 --- a/projects/ngx-datatable/src/lib/components/header/header.component.ts +++ b/projects/ngx-datatable/src/lib/components/header/header.component.ts @@ -5,6 +5,7 @@ import { EventEmitter, HostBinding, Input, + OnChanges, OnDestroy, Output, SimpleChanges, @@ -76,7 +77,7 @@ import { ScrollbarHelper } from '../../services/scrollbar-helper.service'; }, changeDetection: ChangeDetectionStrategy.OnPush }) -export class DataTableHeaderComponent implements OnDestroy { +export class DataTableHeaderComponent implements OnDestroy, OnChanges { @Input() sortAscendingIcon: any; @Input() sortDescendingIcon: any; @Input() sortUnsetIcon: any;