Skip to main content

Selection methods overview

NameDescription
add()Adds the specified item into the selection list
clear()Clears the selection list without invoking events
getIds()Returns the list of ids of selected items
getItem()Returns the object of the specified selected item or of the last selected item when called without arguments
includes()Checks whether an element is in the selection list
remove()Removes the specified item or all the items from the selection list when called without arguments