Hierarchy

  • NumberCellRenderer

Implements

Constructors

Properties

Methods

Constructors

Properties

max: number = Number.MAX_SAFE_INTEGER
min: number = Number.MIN_SAFE_INTEGER

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