Class TrueFalseCellRenderer

Hierarchy

  • TrueFalseCellRenderer

Implements

Constructors

Properties

Methods

Constructors

Properties

ariaLabels: {
    false: string;
    true: string;
} = ...

texts for screen readers (the icons ✅ / ❌ are images). Default: "Yes" / "No".

Type declaration

  • false: string
  • true: string

Methods

  • Fills the (empty) cell element.

    Parameters

    • cellDiv: HTMLDivElement

      the cell element, already positioned and sized

    • _rowIndex: number

      row in the area (as displayed)

    • _columnIndex: number

      column index (west + center + east)

    • _areaIdent: AreaIdent

      "header", "body" or "footer"

    • _areaModel: AreaModelIf

      the model of this area (e.g. for getRowByIndex(rowIndex))

    • cellValue: any

      the value of the cell (areaModel.getValueAt(rowIndex, columnIndex))

    • _domService: DomServiceIf

      create and change elements through it (works with Angular's Renderer2, too)

    Returns undefined | Function

    optionally a cleanup function, called before the cell is drawn again