mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 01:25:36 -05:00
Add 'hidden' optional property to DeclarativeTableColumn (#16386)
* add setHideColumns to DeclarativeTableComponent * fixing tests using declarative table * replace setHiddenColumns on DeclarativeTableComponent with 'hidden' optional property on DeclarativeTableColumn * remove unnecessary changes
This commit is contained in:
@@ -466,4 +466,8 @@ export default class DeclarativeTableComponent extends ContainerBase<any, azdata
|
||||
this.setPropertyFromUI<number>((properties, value) => { properties.selectedRow = value; }, row);
|
||||
}
|
||||
}
|
||||
|
||||
public showColumn(column: azdata.DeclarativeTableColumn): boolean {
|
||||
return column.hidden === undefined || !column.hidden;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user