Add setFilter to DeclarativeTableComponent (#14143)

* Add setFilter to DeclarativeTableComponent

* fix tests

* Update param name
This commit is contained in:
Charles Gagnon
2021-02-03 12:18:36 -08:00
committed by GitHub
parent dcf17cc08b
commit 395dfd6c52
10 changed files with 46 additions and 8 deletions

View File

@@ -300,6 +300,11 @@ declare module 'azdata' {
export interface DeclarativeTableComponent extends Component, DeclarativeTableProperties {
onRowSelected: vscode.Event<DeclarativeTableRowSelectedEvent>;
/**
* Sets the filter currently applied to this table - only rows with index in the given array will be visible. undefined
* will clear the filter
*/
setFilter(rowIndexes: number[] | undefined): void;
}
/*