RevGrid - v0.10.0
    Preparing search index...

    Type Parameters

    Implements

    Index

    Constructors

    Accessors

    Methods

    • Returns void

    • Returns void

    • Gets current count of rows in the associated subgrid at the server.

      Returns number

    • Get a row of data from the server.

      If this method is implemented, it allows the client to retrieve an entire row of data from the server instead of having to retrieve the value each cell in the row individually. Used by RevSubgridImplementation.getSingletonViewDataRow.

      Parameters

      • index: number

      Returns ObjectViewRow

    • Get a field's value at the specified row in a format suitable for display.

      The core of the client does not need to know the type of the return value. getViewValue() is called by the Cell Painter associated with the cell/subgrid. The cell painter expects a certain type of view value and casts the result accordingly.

      Parameters

      • field: SF
      • y: number

      Returns unknown

      The value of the field at the specified row.

    • Returns void

    • Set a cell's value given its column schema & row indexes and a new value.

      If not implemented, the cell cannot be edited.

      Parameters

      • field: SF
      • y: number
      • value: unknown

      Returns void

    • Update or blank row in place.

      Note parameter order is the reverse of addRow.

      Parameters

      • index: number
      • dataRow: ObjectViewRow

        if omitted or otherwise falsy, row renders as blank

      Returns void