[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:
Bartosz Sekuła
2022-05-10 19:09:26 +02:00
committed by GitHub
parent 3a5daf960c
commit 7629797408
25 changed files with 862 additions and 34 deletions

View File

@@ -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}`);