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:
@@ -326,6 +326,10 @@ export class DataTableComponent {
|
||||
];
|
||||
}
|
||||
|
||||
onColumnsVisibilityChange(columns: DataColumn[]): void {
|
||||
this.data.setColumns(columns);
|
||||
}
|
||||
|
||||
onExecuteRowAction(event: DataRowActionEvent) {
|
||||
const args = event.value;
|
||||
window.alert(`My custom action: ${args.action.title}`);
|
||||
|
Reference in New Issue
Block a user