TreeEditEvent

Specifies the event detail for the onNodeEdit callback.

Props

The following table outlines the props for the TreeEditEvent:

NameTypeDefaultDescription
id
string | number
-

Specifies the row's id.

item
unknown
-

Specifies the row's data item.

newLabel
string
-

Specifies the new user input.

oldLabel
string
-

Specifies the row's label as it was when the editor opened.