fix mongo reload - using setLoadedRows instead of bind:loadedRows

This commit is contained in:
Jan Prochazka
2024-05-24 10:47:38 +02:00
parent 5fe55af3b7
commit e04da15f72
8 changed files with 40 additions and 13 deletions

View File

@@ -167,11 +167,15 @@
$: setLocalStorage('collection_collapsedLeftColumn', $collapsedLeftColumnStore);
const quickExportHandlerRef = createQuickExportHandlerRef();
function handleSetLoadedRows(rows) {
loadedRows = rows;
}
</script>
<ToolStripContainer>
<DataGrid
bind:loadedRows
setLoadedRows={handleSetLoadedRows}
{...$$props}
config={$config}
setConfig={config.update}