SelectionModel

Implements basic selection API.

Methods
getSelectedId returns the id(s) of the selected item(s)
getSelectedItem returns selected object
isSelected checks whether the specified item is selected or not
select selects the specified item(s)
selectAll selects all items or the specified range
unselect removes selection from the specified item
unselectAll removes selection from all items
Events
onAfterSelect fires after item was selected
onBeforeSelect fires before item selection is started
onSelectChange fires after selection state was changed
Properties
multiselect enables multiselect mode
select enables/disables items selection or multiselection in widgets
Back to top