A pre-defined column definition for a checkbox representation.

Implements

Hierarchy

  • CheckboxColumnDef

Implements

Constructors

Properties

classes: AreaObjectMapType<string[]> = ...

CSS classes per area – classes.header, .body, .footer. The constants bodyLeft, allRight … are ready-made maps for the alignment.

headerLabel: string = ""

Text of the header cell (used when the header is built from the column definitions).

maxWidth: SizeIf = ...

Upper limit for percentage widths ("%"). Not applied to pixel widths or to resizing with the mouse.

minWidth: SizeIf = ...

Lower limit for percentage widths ("%"). Not applied to pixel widths or to resizing with the mouse.

property: string = "CheckboxColumn"

Property of the row object shown in this column ("customer"). With nested objects a path like "address.city".

rendererMap: AreaObjectMapType<CellRendererIf> = ...

Cell renderers per area – rendererMap.header, .body, .footer. Without a renderer the value is shown as text.

Example

column.rendererMap.body = new NumberCellProgressBarCellRenderer(20, false);
column.rendererMap.footer = new EuroRenderer(); // an own CellRendererIf

See

Training: Cell renderers

type: string = 'CheckboxColumnDef'
width: SizeIf = ...

Width of the column: px120, new Size(10, "%") or new Size(1, "weight"). See SizeUnitType.