Interface TreeViewportData

All Superinterfaces:
TableData
All Known Implementing Classes:
JsTreeTable.TreeSubscription.TreeViewportDataImpl

@JsType(namespace="dh") public interface TreeViewportData extends TableData
Similar to ViewportData, but with additional properties to reflect the tree structure.
  • Method Details

    • getTreeSize

      @JsProperty double getTreeSize()
    • get

      @TsTypeRef(TreeRow.class) default TableData.Row get(TableData.RowPositionUnion index)
      Description copied from interface: TableData
      Reads a row object from the table, from which any subscribed column can be read.
      Specified by:
      get in interface TableData
      Parameters:
      index - the position or key to access
      Returns:
      the row at the given location
    • getRows

      @JsProperty elemental2.core.JsArray<@TsTypeRef(TreeRow.class) TableData.Row> getRows()
      Description copied from interface: TableData
      A lazily computed array of all rows available on the client.
      Specified by:
      getRows in interface TableData
    • getOffset

      @JsProperty double getOffset()
      The position of the first returned row within the tree.