fix: row selection with incorrect values
This commit is contained in:
@@ -336,7 +336,9 @@ const { Provider, useStore: useGridlerStore } = createSyncStore<GridlerStoreStat
|
||||
},
|
||||
getRowIndexByKey: async (key: number | string) => {
|
||||
const state = get();
|
||||
|
||||
if (key === undefined || key === null) {
|
||||
return undefined;
|
||||
}
|
||||
let rowIndex = -1;
|
||||
if (state.ready) {
|
||||
const page_data = state._page_data;
|
||||
|
||||
Reference in New Issue
Block a user