Skip to content

FlattenedTreeRow

Since v0.1.1

A flattened tree row with hierarchy metadata *

PropertyTypeDescription
keystringUnique key identifying this row
dataTOriginal row data
depthnumberDepth level in the tree (0 = root)
hasChildrenbooleanWhether this row has children
isExpandedbooleanWhether this row is currently expanded
parentKeystring | unknownKey of the parent row, or null for root level
posInSetnumber1-based position among siblings at the same level (for aria-posinset).
setSizenumberTotal number of siblings at this level under the same parent (for aria-setsize).
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt