Browse Source

disable row selection within client table

pull/5983/head
Peter Clement 4 years ago
parent
commit
0455abc400
  1. 4
      packages/client/src/components/app/table/Table.svelte

4
packages/client/src/components/app/table/Table.svelte

@ -39,6 +39,8 @@
dataProvider?.id,
ActionTypes.SetDataProviderSorting
)
$: table = dataProvider?.datasource?.type === "table"
$: {
rowSelectionStore.actions.updateSelection(
$component.id,
@ -142,7 +144,7 @@
{quiet}
{compact}
{customRenderers}
allowSelectRows={!!allowSelectRows}
allowSelectRows={allowSelectRows && table}
bind:selectedRows
allowEditRows={false}
allowEditColumns={false}

Loading…
Cancel
Save