The tbColumn directive creates a column in the grid's model. All the attributes are used to generate a ColumnModel.

This directive is replace by a th HTML element.

Directive's attributes

Param Type Details
name string

Set the column name.

label string

Set the column label, if empty column's name is used.

sortable boolean

Set if column is sortable.

sortOrder number

Set the sorting order, -1 if you don't want to set one.

sortDirection string

Set the sorting direction, empty for none and valid values: Ascending and Descending.

isKey boolean

Set if column is Model's key.

searchable boolean

Set if column is searchable.

visible boolean

Set if column is visible.

columnType string

Set the column data type. Values: string, numeric, date, datetime, or boolean.