Cell interface

Cell interface is a base for built-in cell templates and your own, it has only one necessary property - type.

Definition

interface Cell {
    type: string;
    nonEditable?: boolean;
    groupId?: Id;
    style?: CellStyle;
    className?: string;
}

Properties

PropertiesTypeProperties description
typestringName of cell type, must be unique
nonEditable?booleanMakes cell non editable - this property takes precedence over cell templating
groupId? Id Id of group to which this cell belongs to
style? CellStyle Allowed style properties contained in CellStyle interface
className?stringAdditional CSS classes
colspan?numberSpecifies the number of columns a cell should span
rowspan?numberSpecifies the number of rows a cell should span