RevGrid - v0.9.3
    Preparing search index...

    Render the grid only as needed ("partial render").

    Paints all the cells of a grid, one column at a time, but only as needed.

    Partial render is supported only by those cells whose cell renderer supports it by returning before rendering (based on config.snapshot).

    Each cell is drawn redrawn only when its appearance changes. This determination is made by the cell renderer by comparing with (and maintaining) config.snapshot. See XXX for a sample implementation.

    try...catch surrounds each cell paint in case a cell renderer throws an error. The error message is error-logged to console AND displayed in cell.

    Iterates through each cell, calling _paintCell with undefined prefill color. This signifies partial render to the XXX cell renderer, which only renders the cell when it's text, font, or colors have changed.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    key: string
    partial: boolean

    Methods

    • We opted to not paint borders for each cell as that was extremely expensive. Instead we draw grid lines here.

      Returns void