@serenity-is/corelib / GridRowSelectionMixinOptions
Interface: GridRowSelectionMixinOptions
Defined in: src/ui/helpers/gridrowselectionmixin.tsx:12
Options for the GridRowSelectionMixin.
Properties
selectable()?
optionalselectable: (item) =>boolean
Defined in: src/ui/helpers/gridrowselectionmixin.tsx:16
A function that determines whether an item can be selected.
Parameters
item
any
Returns
boolean
selectGroups?
optionalselectGroups:boolean
Defined in: src/ui/helpers/gridrowselectionmixin.tsx:23
Whether the checkbox of a group row selects all the rows of the group, and deselects them when
they are all selected. Defaults to true. Set it to false for the views that don't have the
rows of a group on the client, like a virtual scroll view, where the checkbox is hidden anyway
because the ids of the rows are not known, or when the groups should not be selectable at all.