Add ability to hide checkboxes (#2843)

Signed-off-by: Denis Maslennikov <denis.maslennikov@gmail.com>
This commit is contained in:
Denis Maslennikov 2023-03-28 11:42:02 +07:00 committed by GitHub
parent 57a925b038
commit ca6ab9e995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@
export let baseMenuClass: Ref<Class<Doc>> | undefined = undefined
export let config: (BuildModelKey | string)[]
export let showFilterBar = true
export let enableChecking = true
// If defined, will show a number of dummy items before real data will appear.
export let loadingProps: LoadingProps | undefined = undefined
@ -92,7 +93,7 @@
{baseMenuClass}
{loadingProps}
highlightRows={true}
enableChecking
{enableChecking}
showFooter
checked={$selectionStore ?? []}
{prefferedSorting}