Fix grid block
This commit is contained in:
parent
9652356ee0
commit
7aa5211d87
|
@ -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}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue