multiselect
enables multiselect mode
boolean| string multiselect;
Values
true
to enable selection of several items clicked in succession with the Ctrl key pressed
false
to disable selection of several items clicked in succession with the Ctrl key pressed
"touch"
to enable multiselection by clicking items (or tapping them on touch devices)
"level"
to enable multiselection in hierarchical components (Tree and Treetable). It allows multiple selection of items within one and the same hierarchy level.
Example
{
view:"list",
select:true,
multiselect:true }
Related samples
Details
In the multiselect mode api allows marking multiple elements as selected at the same time.
If a component supports direct selection, it may be possible to use Ctrl-click
and Shift-click to select multiple elements at once.
Possible values are:
- state - (true/false) enables/disables multiselection
- "level" - (string) allows selection only on the same level
- "touch" - (string) sets the "touch" mode of multiselection
(the first click on an element selects it, the second one removes selection)
See also
Back to top