RevGrid - v0.9.3
    Preparing search index...

    Render the grid with consolidated row OR column rects.

    Paints all the cells of a grid, one column at a time.

    First, a background rect is drawn using the grid background color.

    Then, if there are any rows with their own background color that differs from the grid background color, these are consolidated and the consolidated groups of row backgrounds are all drawn before iterating through cells. These row backgrounds get priority over column backgrounds.

    If there are no such row background rects to draw, the column rects are consolidated and drawn instead (again, before the cells). Note that these column rects are not suitable for clipping overflow text from previous columns. If you have overflow text, either turn on clipping (big performance hit) or turn on one of the truncateTextWithEllipsis options.

    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.

    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