Deselect row everytime setProperties called (#14838)

* deselect row everytime setProperties called

* added data

* changed clear to only happen if data property changed
This commit is contained in:
Christopher Suh
2021-03-23 15:40:21 -07:00
committed by GitHub
parent 6c54059f89
commit be9d18428f

View File

@@ -281,6 +281,7 @@ export default class DeclarativeTableComponent extends ContainerBase<any, azdata
if (isDataPropertyChanged) {
this.clearContainer();
this._data = finalData;
this._selectedRow = -1;
}
super.setProperties(properties);
}