Search results

TreeActionEventArgs API in JavaScript TreeGrid API control

Interface for TreeGrid row drop action event arguments, providing detailed information about the row drop operation and its related context.

Properties

action

string

Describes the specific action being performed.

cancel

boolean

A boolean value indicating whether the action should be canceled.

data

ITreeData | ITreeData[]

Contains the data of the row(s) involved in the action, either a single row or an array of rows.

dropIndex

number

Indicates the target index where the row(s) will be dropped.

dropPosition

string

Specifies the position where the dragged record will be dropped relative to the target.

modifiedRecords

ITreeData[]

Lists the records that have been modified as a result of the action.

requestType

string

Identifies the type of request made during the action.

row

Object[]

Refers to the rows affected by the action.