mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7817] Show hide columns on datatable (#7580)
* [AAE-7817] Show hide columns for data-table * Update * update tests and uses material harness * added pipes test * update * update * added tests for datatable * update * Added documentation * Fix for drop column header * lint fix * fix lint
This commit is contained in:
@@ -34,6 +34,7 @@ export class ObjectDataColumn implements DataColumn {
|
||||
sortingKey?: string;
|
||||
header?: TemplateRef<any>;
|
||||
draggable: boolean;
|
||||
isHidden: boolean;
|
||||
|
||||
constructor(input: any) {
|
||||
this.id = input.id ?? '';
|
||||
@@ -50,5 +51,6 @@ export class ObjectDataColumn implements DataColumn {
|
||||
this.sortingKey = input.sortingKey;
|
||||
this.header = input.header;
|
||||
this.draggable = input.draggable ?? false;
|
||||
this.isHidden = input.isHidden ?? false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user