Interface TableData.Row

All Known Subinterfaces:
TreeViewportData.TreeRow, ViewportData.ViewportRow
All Known Implementing Classes:
AbstractTableSubscription.SubscriptionRow, JsTreeTable.TreeSubscription.TreeRowImpl
Enclosing interface:
TableData

@JsType(namespace="dh") public static interface TableData.Row
Represents a row available in a subscription/snapshot on the client. Do not retain references to rows - they will not function properly when the event isn't actively going off (or promise resolving). Instead, wait for the next event, or re-request the viewport data.
  • Method Summary

    Modifier and Type
    Method
    Description
    jsinterop.base.Any
    get(Column column)
    Returns the value for the given column in this row.
    getFormat(Column column)
    Returns the server-specified Format for the given column in this row.
    Returns the row key for this row.
  • Method Details

    • getIndex

      @JsProperty LongWrapper getIndex()
      Returns the row key for this row.
    • get

      @JsMethod jsinterop.base.Any get(Column column)
      Returns the value for the given column in this row.
      Parameters:
      column - the column to read
      Returns:
      the value in this row for the specified column
    • getFormat

      @JsMethod Format getFormat(Column column)
      Returns the server-specified Format for the given column in this row.
      Parameters:
      column - the column to read
      Returns:
      the format details for the specified column in this row