fix race condition in declarative table (#15801)

This commit is contained in:
Alan Ren
2021-06-18 11:40:19 -07:00
committed by GitHub
parent 4c2f6eafe0
commit aeda95bb70
6 changed files with 24 additions and 8 deletions

View File

@@ -1568,6 +1568,11 @@ class DeclarativeTableWrapper extends ComponentWrapper implements azdata.Declara
});
}
async setDataValues(v: azdata.DeclarativeTableCellValue[][]): Promise<void> {
await this.clearItems();
await this.setProperty('dataValues', v);
}
public get columns(): azdata.DeclarativeTableColumn[] {
return this.properties['columns'];
}