declarative table fix (#14844)

* declarative table fixes

* reset selectedRow

* use eventHelper
This commit is contained in:
Alan Ren
2021-03-24 10:45:43 -07:00
committed by GitHub
parent 0fb01b5b34
commit 92e9a423a0
5 changed files with 57 additions and 24 deletions

View File

@@ -1563,12 +1563,12 @@ class DeclarativeTableWrapper extends ComponentWrapper implements azdata.Declara
return this._proxy.$setProperties(this._handle, this._id, this.getPropertiesForMainThread());
}
public get selectEffect(): boolean | undefined {
return this.properties['selectEffect'];
public get enableRowSelection(): boolean | undefined {
return this.properties['enableRowSelection'];
}
public set selectEffect(v: boolean | undefined) {
this.setProperty('selectEffect', v);
public set enableRowSelection(v: boolean | undefined) {
this.setProperty('enableRowSelection', v);
}
public setFilter(rowIndexes: number[]): void {