RevGrid - v0.9.3
    Preparing search index...
    interface RevClickBoxCellPainter<
        BCS extends RevBehavioredColumnSettings,
        SF extends RevSchemaField,
    > {
        calculateClickBox(cell: RevViewCell<BCS, SF>): undefined | RevRectangle;
        paint(
            cell: RevViewCell<BCS, SF>,
            prefillColor: undefined | string,
        ): undefined | number;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Methods

    • An empty implementation of a cell renderer, see the null object pattern.

      Parameters

      Returns undefined | number

      Preferred pixel width of content. The content may or may not be rendered at that width depending on whether or not config.bounds was respected and whether or not the grid renderer is using clipping. (Clipping is generally not used due to poor performance.)