From 9589808c6de13dd66179cb7ced92dcd920cc3f74 Mon Sep 17 00:00:00 2001 From: Valentin Date: Tue, 20 Sep 2022 11:18:00 +0300 Subject: [PATCH] RED-3212 - added id for tests --- src/lib/listing/models/table-column-config.model.ts | 1 + src/lib/listing/table-header/table-header.component.html | 1 + 2 files changed, 2 insertions(+) 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" >