Browse Source

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

pull/10370/head
rusikv 3 years ago
parent
commit
e58906dd7a
  1. 5
      ui-ngx/src/app/modules/home/models/entity/entities-table-config.models.ts

5
ui-ngx/src/app/modules/home/models/entity/entities-table-config.models.ts

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

Loading…
Cancel
Save