JavaScript/jQuery CardView - selection
Configures runtime selection.
A user can select rows in a single or multiple mode. In multiple mode, a user can select all rows at once. To disable this feature, assign false
to the allowSelectAll property.
See Also
allowSelectAll
Allows users to simultaneously select all or current page cards (depending on selectAllMode).
Press Ctrl/Cmd + A or click the "Select all" button above the header panel to select all cards. To remove all selections, click the "Clear selection" button. When a filter is active, selecting all cards affects those matching the filter.
When set to false
, this property turns off the "Select all" functionality.
mode
Specifies the selection mode.
A selection mode can be one of the following:
'single'
Select one card at a time.'multiple'
Select multiple cards.'none'
Users cannot select cards.
selectAllMode
Specifies the mode for selecting cards. Applies only if selection.allowSelectAll is true
.
selectAllMode specifies how cards are selected when you click the "Select all" button or call the selectAll()/deselectAll() methods. The following modes are available:
"page"
Selects cards on rendered pages."allPages"
Selects cards on all pages.
showCheckBoxesMode
Specifies when to display card selection checkboxes.
The following values are available:
"onClick" Checkboxes appear once a user clicks in the column or if two or more cards are selected programmatically or using keyboard shortcuts. Checkboxes disappear once card selection is canceled.
"onLongTap" Checkboxes appear and disappear on long tap (click and hold).
"always" Checkboxes are always visible.
"none"
Checkboxes are hidden. Users can select cards with keyboard shortcuts or long tap (click and hold).
If you have technical questions, please create a support ticket in the DevExpress Support Center.