AdaptableColumnConfig
Declared in src/common/AdaptableColumn.ts
A column in availableColumns. Its value comes from exactly one of field, valueGetter or expression - a checkboxSelection column has none of them.
#Definition
| AdaptableFieldColumnConfig
| AdaptableValueGetterColumnConfig
| AdaptableCalculatedColumnConfig
| AdaptableCheckboxColumnConfig#Properties
#aggregatableboolean
Whether the column can be used in aggregations.
#aggregationAggregationTypeId | false
The aggregation to display for this column when the grid is grouped. The aggregated value will be displayed for group rows, on this column
#checkboxSelectionboolean | true
Shows a row selection checkbox in the column. Only rendered with multi-row selection (selection.mode: 'multi-row').
While the column is visible, clicking a row doesn't select it, unless the view's selection.multiSelectWith is 'click'.
#columnTypeAdaptableColumnType | AdaptableColumnType[] | null
#componentsAdaptableColumnComponents
#dataTyperequiredAdaptableDataType
#editableboolean
Whether values in the column can be edited.
#exportableboolean | ((context: ExportableContext) => boolean)
#expressionrequiredstringalternative to field, valueGetter
The AdapTableQL expression computing the column value.
#fieldrequiredstringalternative to expression, valueGetter
The property of the row data the column shows.
#filterableboolean
#filterOperatorsstring[]
Restricts the operators offered in the header filter (by operator name).
#filterTypeBuiltInFilterTypeId | (string & {})
Id of the filter type (built-in or from filterTypes) that decides the operators and editor of the column filter. Defaults to the filter type configured for the column's data type (dataTypeDefaults[dataType].filterType) and finally to the built-in type named after the data type.
#filterValuesFilterValuesProvider | FilterValuesOptions
Pickable values for single/multi value filter types — a static list or a loader (({ search, start, limit }) => Promise<values>). Falls back to the filter type's values, the data source filterValues and, in client mode, the distinct values of the loaded rows.
#flexnumber
The default flex of the column.
#groupBystring | string[]
#labelstring
Header text. When omitted, the column field (or group-column id) is humanized — lastName → Last name, language group → Language group.
#maxWidthnumber
The maximum width of the column.
#minWidthnumber
The minimum width of the column.
#pinnedboolean
Whether the column is pinned.
#pivotableboolean
Whether the column can be used in pivoting.
Defaults to true.
#renderGroupValueAdaptableColumnRenderGroupValueFn
#renderHeaderAdaptableColumnRenderHeaderFn
#renderValueAdaptableColumnRenderValueFn
#resizableboolean
Whether the column can be resized.
#rowGroupableboolean
Whether the column can be used in row grouping.
Defaults to true.
#sortableboolean
Whether the column can be sorted.
#sortTypestring
#valueGetterrequired(params: AdaptableValueGetterParams) => anyalternative to expression, field
Computes the column value from the row data.
#visibleboolean
Whether the column is visible.
#widthnumber
The default width of the column.