fixes The selectedRow and selectedRowId is still populated with the previous data. (#2653)

This commit is contained in:
Arpit 2022-04-06 14:20:13 +05:30 committed by GitHub
parent e64a273b0d
commit b092226c49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -833,6 +833,8 @@ export function Table({
onComponentOptionsChanged(component, [
['currentPageData', pageData],
['currentData', currentData],
['selectedRow', []],
['selectedRowId', null],
]);
}, [tableData.length, componentState.changeSet]);