UI: added sorting to 'Originator' column for alarm talbe

This commit is contained in:
rusikv 2024-03-14 17:00:13 +02:00
parent a6f19e5de3
commit e58906dd7a

View File

@ -120,8 +120,9 @@ export class EntityLinkTableColumn<T extends BaseData<HasId>> extends BaseEntity
public title: string,
public width: string = '0px',
public cellContentFunction: CellContentFunction<T> = (entity, property) => entity[property] ? entity[property] : '',
public entityURL: (entity) => string) {
super('link', key, title, width, false);
public entityURL: (entity) => string,
public sortable: boolean = true) {
super('link', key, title, width, sortable);
}
}