Class AbstractAreaModel<T>Abstract

This is the model interface for an area model. A table can have three of these models, one for the header, one for the body , and one for the footer. An AreaModelIf gives you information about the rows and cell contents. The column information is given by the TableModelIf.

Type Parameters

  • T

Hierarchy

Implements

Constructors

Properties

areaIdent: AreaIdent

The identifier for one of the areas: header, body, footer.

cellRenderers: (undefined | CellRendererIf)[]
columnDefs: ColumnDefIf[] = []
defaultRowHeight: number = -1
rowSelectionModel: undefined | CheckboxModelIf<any> = undefined

A model and controller for a row checkbox selection

yPositions: number[] = []

Methods

  • This method can be used to return an object with css style information for the given cell

    Parameters

    • _rowIndex: number

      row index of the cell

    • _columnIndex: number

      column index of the cell

    Returns undefined | {
        [key: string]: string;
    }

  • This return value is internally used to optimize the render performance. Set this value to the lowest possible value. If the model has no colspan, a value of 0 would be good. The dafault is 32. If your model has a colspan cell greater 32, don't forget to increase this value.

    Returns number

  • This return value is internally used to optimize the render performance. Set this value to the lowest possible value. If the model has no rowspan, a value of 0 would be good. The default is 32. If your model has a rowspan cell greater 32, don't forget to increase this value.

    Returns number

Generated using TypeDoc