Fix grid block

This commit is contained in:
Andrew Kingston 2023-08-04 15:40:46 +01:00
parent 9652356ee0
commit 7aa5211d87
1 changed files with 9 additions and 6 deletions

View File

@ -38,11 +38,11 @@
class:in-builder={$builderStore.inBuilder} class:in-builder={$builderStore.inBuilder}
> >
<Grid <Grid
tableId={table?.tableId} datasource={{
type: "table",
tableId: table?.tableId,
}}
{API} {API}
{allowAddRows}
{allowEditRows}
{allowDeleteRows}
{stripeRows} {stripeRows}
{initialFilter} {initialFilter}
{initialSortColumn} {initialSortColumn}
@ -50,9 +50,12 @@
{fixedRowHeight} {fixedRowHeight}
{columnWhitelist} {columnWhitelist}
{schemaOverrides} {schemaOverrides}
canAddRows={allowAddRows}
canEditRows={allowEditRows}
canDeleteRows={allowDeleteRows}
canExpandRows={false}
canSaveSchema={false}
showControls={false} showControls={false}
allowExpandRows={false}
allowSchemaChanges={false}
notifySuccess={notificationStore.actions.success} notifySuccess={notificationStore.actions.success}
notifyError={notificationStore.actions.error} notifyError={notificationStore.actions.error}
/> />