Skip to content

RevoGrid Documentation v4.26.1 / RowHeaders

Interface: RowHeaders

ColumnRegular interface represents regular column definition. Regular column can be any column that is not a grouping column.

Extends

Properties

PropertyTypeDescriptionInherited fromDefined in
autoSize?booleanColumn size would be changed based on space left.ColumnRegular.autoSizesrc/types/interfaces.ts:239
blankSemantics?BlankSemanticsPartial column override for the grid-level blank filtering policy.ColumnRegular.blankSemanticssrc/types/interfaces.ts:245
cellCompare?CellCompareFunc<DataType<any, ColumnProp>>Represents the cell compare function for custom sorting.ColumnRegular.cellComparesrc/types/interfaces.ts:205
cellParser?(model: DataType<any, ColumnProp>, column: ColumnRegular<ColumnProp, DataType<any, ColumnProp>>) => anyRepresents the cell value parse function for custom parsing. Currently only used for filtering.ColumnRegular.cellParsersrc/types/interfaces.ts:211
cellProperties?PropertiesFunc<DataType<any, ColumnProp>>Represents cell properties for custom styling, classes, and events.ColumnRegular.cellPropertiessrc/types/interfaces.ts:197
cellTemplate?CellTemplate<DataType<any, ColumnProp>>Represents the cell template for custom rendering.ColumnRegular.cellTemplatesrc/types/interfaces.ts:201
columnProperties?ColPropertiesFuncHeader Cell properties Custom function/component to render header propertiesColumnRegular.columnPropertiessrc/types/interfaces.ts:140
columnTemplate?ColumnTemplateFuncHeader inner template Function/component to render custom header contentColumnRegular.columnTemplatesrc/types/interfaces.ts:135
columnType?stringRepresents type defined in columnTypes property through grid config.ColumnRegular.columnTypesrc/types/interfaces.ts:261
editor?string | EditorCtrRepresents a custom editor defined in editors property. Can be a string or an editor constructor function.ColumnRegular.editorsrc/types/interfaces.ts:193
filter?string | boolean | string[]Filter. Require filter plugin to be installed and activated through grid config filter.ColumnRegular.filtersrc/types/interfaces.ts:243
maxSize?numberRepresents the maximum column size.ColumnRegular.maxSizesrc/types/interfaces.ts:188
minSize?numberRepresents the minimal column size. This property cannot be less than cell padding in order to keep performance on top and minimize DOM elements number.ColumnRegular.minSizesrc/types/interfaces.ts:184
name?anyColumn header text.ColumnRegular.namesrc/types/interfaces.ts:235
order?OrderSort order.ColumnRegular.ordersrc/types/interfaces.ts:253
pin?DimensionColPinColumn pin 'colPinStart''colPinEnd'.ColumnRegular.pin
propColumnPropColumn prop used for mapping value to cell from data source model/row, used for indexing.ColumnRegular.propsrc/types/interfaces.ts:227
readonly?ReadOnlyFormat<DataType<any, ColumnProp>, ColumnRegular<ColumnProp, DataType<any, ColumnProp>>>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.ColumnRegular.readonlysrc/types/interfaces.ts:174
rowDrag?RowDrag<DataType<any, ColumnProp>, ColumnRegular<ColumnProp, DataType<any, ColumnProp>>>Is cell in column or individual can be dragged.ColumnRegular.rowDragsrc/types/interfaces.ts:257
size?numberRepresents the default column size.ColumnRegular.sizesrc/types/interfaces.ts:178
sortable?booleanIs column can be sorted, check cellCompare function for custom sorting.ColumnRegular.sortablesrc/types/interfaces.ts:249

Methods

beforeSetup()?

ts
optional beforeSetup(rgCol: ColumnRegular<ColumnProp, DataType<any, ColumnProp>>): void

Function called before column applied to the store.

Parameters

ParameterType
rgColColumnRegular<ColumnProp, DataType<any, ColumnProp>>

Returns

void

Inherited from

ColumnRegular.beforeSetup

Defined in

src/types/interfaces.ts:265