Selection Object API

A set of APIs that allow you to work with the Selection object.

Methods

add selects a specified item
getId returns the id of a selected item
getItem returns the object of a selected item
remove unselects a previously selected item

Events

afterSelect fires after selecting an item
afterUnSelect fires after unselecting an item
beforeSelect fires on selecting an item, but before the item is really selected
beforeUnSelect fires on unselecting an item, but before the item is really unselected
Back to top