Represents a (table) row in a tree structure. It's a container object for T with additional tree node information.

Type Parameters

  • T

    The type of data stored in the row.

Hierarchy

  • TreeRow

Implements

Constructors

Properties

checked: boolean = false

Checkbox state (with showCheckboxWihoutExtraColumn or a checkbox column).

children: undefined | TreeRowIf<T>[]

The child rows, undefined for leaves.

data: T

Your object. Column values are read from it (columnDef.property).

deep: number = 0

Depth in the tree: 0 = top level.

expanded: boolean = true

Are the children visible?

keep: boolean = false

Internal, set by the filter: the row or one of its descendants matches (also below collapsed rows).

parent: undefined | TreeRowIf<T>

The parent row, undefined on the top level.

type: "" | "TreeRow" = 'TreeRow'

Marker to recognise tree rows across package boundaries (see isTreeRow()).