Interface TreeViewportData.TreeRow

All Superinterfaces:
TableData.Row
All Known Implementing Classes:
JsTreeTable.TreeSubscription.TreeRowImpl
Enclosing interface:
TreeViewportData

@JsType public static interface TreeViewportData.TreeRow extends TableData.Row
Row implementation that also provides additional read-only properties. represents visible rows in the table, but with additional properties to reflect the tree structure.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The number of levels above this node; zero for top level nodes.
    boolean
    True if this node has children and can be expanded; false otherwise.
    boolean
    True if this node is currently expanded to show its children; false otherwise.

    Methods inherited from interface io.deephaven.web.client.api.TableData.Row

    get, getFormat, getIndex
  • Method Details

    • isExpanded

      @JsProperty(name="isExpanded") boolean isExpanded()
      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
    • hasChildren

      @JsProperty(name="hasChildren") boolean hasChildren()
      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
    • depth

      @JsProperty(name="depth") int depth()
      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:
      int