form view - expand column by keyboard plus

This commit is contained in:
Jan Prochazka
2021-05-23 22:12:50 +02:00
parent 95cb8c7cb6
commit 67504a9481
4 changed files with 20 additions and 4 deletions

View File

@@ -288,8 +288,8 @@ export abstract class GridDisplay {
return this.config.expandedColumns.includes(uniqueName);
}
toggleExpandedColumn(uniqueName: string) {
this.includeInColumnSet('expandedColumns', uniqueName, !this.isExpandedColumn(uniqueName));
toggleExpandedColumn(uniqueName: string, value?: boolean) {
this.includeInColumnSet('expandedColumns', uniqueName, value == null ? !this.isExpandedColumn(uniqueName) : value);
}
getFilter(uniqueName: string) {