@deephaven/jsapi-types
    Preparing search index...

    Interface TreeViewportData

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

    interface TreeViewportData {
        get columns(): Column[];
        get offset(): number;
        get rows(): TreeRow[];
        get treeSize(): number;
        get(index: number | LongWrapper): TreeRow;
        getData(index: number | LongWrapper, column: Column): any;
        getFormat(index: number | LongWrapper, column: Column): Format;
    }

    Hierarchy (View Summary)

    Index
    • get columns(): Column[]

      Returns Column[]

    • get offset(): number

      The position of the first returned row within the tree.

      Returns number

    • get treeSize(): number

      Returns number

    • 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.