TreeListExpandChangeEvent

Represents the object of the onExpandChange TreeList event.

NameTypeDefaultDescription

dataItem

any

The data item which is expanded or collapsed.

level

number[]

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

nativeEvent

any

A native DOM event.

syntheticEvent

SyntheticEvent<any>

A React Synthetic Event.

target

TreeList

An event target.

value

boolean

The available values are:

  • true—If the data item is expanded.
  • false—If the data item is collapsed.

In this article

Not finding the help you need?