Search results

ColumnModel API in JavaScript Multicolumn Combobox API control

Interface for a class Column

Properties

customAttributes

{ : }

The CSS styles and attributes of the content cells of a particular column can be customized.

displayAsCheckBox

boolean

If displayAsCheckBox is set to true, it displays the column value as a check box instead of Boolean value.

field

string

Defines the name of the field whose data will be displayed in the column.

format

string | NumberFormatOptions | DateFormatOptions

It is used to change display value with the given format and does not affect the original data. Gets the format from the user which can be standard or custom number and date formats.

Defines the header text of column which is used to display in column header. If headerText is not defined, then field name value will be assigned to header text.

headerTemplate

string | Function

Defines the column template as string or HTML element ID which is used to add customized element in the column header.

template

string | Function

Defines the column template that renders customized element in each cell of the column. It accepts either template or HTML element ID.

textAlign

TextAlign

Defines the alignment of the column in both header and content cells.

width

string | number

Defines the width of the column in pixels or percentage.