@revolist/revogrid / ColumnType
Interface: ColumnType
Interface for regular column definition. Regular column can be any column that is not a grouping column.
Extends
Extended by
Properties
Property | Type | Description | Inherited from | Defined in |
---|---|---|---|---|
cellCompare? | CellCompareFunc | Represents the cell compare function for custom sorting. | - | src/types/interfaces.ts:185 |
cellParser? | (model : DataType <any >, column : ColumnRegular ) => any | Represents the cell value parse function for custom parsing. Currently only used for filtering. | - | src/types/interfaces.ts:191 |
cellProperties? | PropertiesFunc | Represents cell properties for custom styling, classes, and events. | - | src/types/interfaces.ts:177 |
cellTemplate? | CellTemplate | Represents the cell template for custom rendering. | - | src/types/interfaces.ts:181 |
columnProperties? | ColPropertiesFunc | Header Cell properties Custom function/component to render header properties | ColumnProperties .columnProperties | src/types/interfaces.ts:120 |
columnTemplate? | ColumnTemplateFunc | Header inner template Function/component to render custom header content | ColumnProperties .columnTemplate | src/types/interfaces.ts:115 |
editor? | string | EditorCtr | Represents a custom editor defined in editors property. Can be a string or an editor constructor function. | - | src/types/interfaces.ts:173 |
maxSize? | number | Represents the maximum column size. | - | src/types/interfaces.ts:168 |
minSize? | number | Represents the minimal column size. This property cannot be less than cell padding in order to keep performance on top and minimize DOM elements number. | - | src/types/interfaces.ts:164 |
readonly? | ReadOnlyFormat | Represents whether the column or cell is read-only. Can be a boolean or a function that returns a boolean. The function receives column data as a parameter. | - | src/types/interfaces.ts:154 |
size? | number | Represents the default column size. | - | src/types/interfaces.ts:158 |