API REFERENCE

treeParentField

Parent node ID field in a parent-ID tree.

What does this API do?

Parent node ID field in a parent-ID tree.

API for Pro features: Tree data

Exact input and result types

typescript
treeParentField: string
ItemValue
JavaScript nametreeParentField
HTML attributetree-parent-field
Defaultundefined
Input typestring

Usage flow

Set this on a property of the Grid element. In HTML, you can also use the tree-parent-field attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

Feature explanations and examples