SelectionMixin

external interface SelectionMixin

Inheritors

Properties

Link copied to clipboard
abstract var isItemSelectable: (JsAny) -> Boolean

A function to check whether a specific item in the grid may be selected or deselected by the user. Used by the selection column to conditionally enable to disable checkboxes for individual items. This function does not prevent programmatic selection/deselection of items. Changing the function does not modify the currently selected items.

Link copied to clipboard
abstract var selectedItems: Array<JsAny>

An array that contains the selected items.

Functions

Link copied to clipboard
abstract fun deselectItem(item: JsAny)

Deselects the given item if it is already selected.

Link copied to clipboard
abstract fun selectItem(item: JsAny)

Selects the given item.