TreeListSelectionChangeEvent

Represents the object of the onSelectionChange TreeList event.

NameTypeDefaultDescription

altKey

boolean

Is alt key modifier pressed.

cell

boolean

Indicates if cell selection mode is enabled.

componentId

string

The component unique identifier.

ctrlKey

boolean

Is ctrl key modifier pressed.

dataItem

any

The data item which was selected or deselected when the checkbox selection column is used. It will be null when the row or cell selection is used.

dataItems

any[]

The current component leaf data items.

endColIndex

number

Selection end column index.

endRowIndex

number

Selection end row index.

isDrag

boolean

Indicates if current event is created from drag.

level

number[]

An array of indexes of each parent and current item in the data tree.

metaKey

boolean

Is meta key modifier pressed.

mode

"multiple" | "single"

Selection mode.

nativeEvent

any

A native DOM event.

selectedField

string

The selectedField prop of the component.

shiftKey

boolean

Is shift key modifier pressed.

startColIndex

number

Selection start column index.

startRowIndex

number

Selection start row index.

syntheticEvent

SyntheticEvent<any>

A React Synthetic Event.

target

TreeList

An event target.