Interface TreeViewportData

Similar to ViewportData, but with additional properties to reflect the tree structure.

Hierarchy

Accessors

  • get columns(): Column[]
  • Returns Column[]

  • get offset(): number
  • The position of the first returned row within the tree.

    Returns number

  • get rows(): TreeRow[]
  • A lazily computed array of all rows available on the client.

    Returns TreeRow[]

  • get treeSize(): number
  • Returns number

Methods

  • Reads a row object from the table, from which any subscribed column can be read.

    Parameters

    • index: number | LongWrapper

      The position or key to access.

    Returns TreeRow

    The row at the given location.

  • Reads a specific cell from the table, by row key and column.

    Parameters

    • index: number | LongWrapper

      The row in the table to get data from.

    • column: Column

      The column to read.

    Returns any

    The value in the table.

  • The server-specified Format to use for the cell at the given position.

    Parameters

    Returns Format

    A Format instance with any server-specified details.