disable row selection within client table

This commit is contained in:
Peter Clement 2022-05-24 09:47:28 +01:00
parent b8bd09d4ce
commit f90050fb53
1 changed files with 3 additions and 1 deletions

View File

@ -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}