mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
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:
@@ -281,6 +281,7 @@ export default class DeclarativeTableComponent extends ContainerBase<any, azdata
|
|||||||
if (isDataPropertyChanged) {
|
if (isDataPropertyChanged) {
|
||||||
this.clearContainer();
|
this.clearContainer();
|
||||||
this._data = finalData;
|
this._data = finalData;
|
||||||
|
this._selectedRow = -1;
|
||||||
}
|
}
|
||||||
super.setProperties(properties);
|
super.setProperties(properties);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user