Interface TableCellUpdateEventIf

One event defines one table cell update operation. You can send an array of these event via TableApi#updateCells(events: TableCellUpdateEventIf[], repaintAll: boolean = false).

Hierarchy

  • TableCellUpdateEventIf

Implemented by

Properties

area: AreaIdent

Represents an area identifier ("header" | "body" | "footer"), which defines the part of the table.

columnIndex: number

Represents the index of a column in a data table.

cssClasses: {
    [key: string]: boolean;
}

Represents a collection of CSS classes with their corresponding boolean values. For each key-value pair of the object with a truthy value the corresponding key is used as a class name. For each key-value pair of the object with a falsy value the corresponding key will be removed from the class list of the cell div (dom node). Example: { low: val >= 0 && val <=5, medium: val > 5 && val <= 10, high: val > 10 }

Type declaration

  • [key: string]: boolean
rowIndex: number

Represents the index of a row of the table.

value: any

The value can be any data type. It can store a string, number, boolean, object, function, or null. It is a flexible variable that can hold any value.

This valie will be set to the area model for the cell (rowIndex, columnIndex).