diff --git a/packages/web/src/datagrid/JslDataGridCore.svelte b/packages/web/src/datagrid/JslDataGridCore.svelte index a6941ffb..4c0e65d1 100644 --- a/packages/web/src/datagrid/JslDataGridCore.svelte +++ b/packages/web/src/datagrid/JslDataGridCore.svelte @@ -72,6 +72,8 @@ export let selectedCellsPublished = () => []; export const activator = createActivator('JslDataGridCore', false); + export let setLoadedRows; + let loadedRows = []; let domGrid; @@ -189,6 +191,7 @@ function handleSetLoadedRows(rows) { loadedRows = rows; + setLoadedRows?.(rows); }