Interface TreeRow

Row implementation that also provides additional read-only properties. represents visible rows in the table, but with additional properties to reflect the tree structure.

Hierarchy

Accessors

  • get depth(): number
  • The number of levels above this node; zero for top level nodes. Generally used by the UI to indent the row and its expand/collapse icon

    Returns number

    int

  • get hasChildren(): boolean
  • True if this node has children and can be expanded; false otherwise. Note that this value may change when the table updates, depending on the table's configuration

    Returns boolean

    boolean

  • get isExpanded(): boolean
  • True if this node is currently expanded to show its children; false otherwise. Those children will be the rows below this one with a greater depth than this one

    Returns boolean

    boolean

Methods