ColumnBase
The base class for the column components of the Grid.
Use this class as a foundation for custom column implementations.
Name | Type | Default | Description |
---|---|---|---|
autoSize |
|
Specifies if the column is automatically resized during initialization to fit its header and row content. | |
cellRowspan |
|
Defines a function to determine the rowspan of each column cell.
If you set this to | |
columnMenu |
|
|
Specifies if the column menu is shown for the column. |
class |
|
Sets custom CSS classes to the column cells.
Uses the | |
filterClass |
|
Sets custom CSS classes to the filter row cell.
Uses the | |
filterStyle |
|
Sets custom styles for the filter row cell.
Uses the | |
footerClass |
|
Sets custom CSS classes to the column footer cell.
Uses the | |
footerStyle |
|
Sets custom styles for the footer cell of the column.
Uses the | |
headerClass |
|
Sets custom CSS classes to the column header cell.
Uses the | |
headerStyle |
|
Sets custom styles for the header cell of the column.
Uses the | |
hidden |
|
|
Sets the visibility of the column (see example). |
includeInChooser |
|
|
Specifies if the column is included in the column-chooser list. |
lockable |
|
|
Specifies if the column can be locked or unlocked from the column menu or by reordering. |
locked |
|
|
Toggles the locked (frozen) state of the column (more information and example). |
maxResizableWidth |
|
Sets the maximum width (in pixels) for resizing the column by using the UI (see example).
By default, the maximum width is not restricted.
The | |
media |
|
Sets the condition for the column to remain visible (see example).
If you set the Accepts device identifiers from Bootstrap 4 (see example). | |
minResizableWidth |
|
|
Sets the minimum width (in pixels) for resizing the column by using the UI (see example).
The |
orderIndex |
|
|
Gets the column index after reordering. The |
parent? |
| ||
reorderable |
|
|
Specifies if the column is reorderable. |
resizable |
|
|
Specifies if the column is resizable. |
stickable |
|
|
Specifies if the column can be stuck or unstuck from the column menu. |
sticky |
|
|
Specifies if the column is always visible when scrolling the Grid horizontally. |
style |
|
Sets custom styles for the table cells (excluding footer and header) of the column.
Uses the | |
tableCellsRole |
|
|
Sets the |
title |
|
Sets the column title. | |
width |
|
Sets the column width (in pixels). |