diff --git a/src/lib/listing/models/table-column-config.model.ts b/src/lib/listing/models/table-column-config.model.ts index a19e040..6d5f56e 100644 --- a/src/lib/listing/models/table-column-config.model.ts +++ b/src/lib/listing/models/table-column-config.model.ts @@ -12,5 +12,6 @@ export interface TableColumnConfig { readonly width?: string; readonly template?: TemplateRef; readonly extra?: unknown; + readonly id?: string; last?: boolean; } diff --git a/src/lib/listing/table-header/table-header.component.html b/src/lib/listing/table-header/table-header.component.html index 11a8a53..a04cbb7 100644 --- a/src/lib/listing/table-header/table-header.component.html +++ b/src/lib/listing/table-header/table-header.component.html @@ -37,6 +37,7 @@ [rightIconTooltip]="config.rightIconTooltip" [rightIcon]="config.rightIcon" [sortByKey]="config.sortByKey" + [id]="config.id" >