Adaptable

AdaptableTableColumn

Declared in src/common/AdaptableColumn.ts

A computed view column is a view column that will always have either a width or flex property

#Definition

AdaptableColumn & {
  computed: true;
  sortType: string;
  /** Resolved filter type id — always set on computed columns. */
  filterType: string;
}

#Properties

33 props

#aggregatablerequiredboolean

Whether the column can be used in aggregations.

#aggregationColumnAggregationValue

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

#computedrequiredtrue

#dataTyperequiredAdaptableDataType

#editablerequiredboolean

Whether values in the column can be edited.

#exportableboolean | ((context: ExportableContext) => boolean)

#expressionrequiredstring

The AdapTableQL expression computing the column value.

#fieldrequiredstring

The property of the row data the column shows.

#filterablerequiredboolean

#filterOperatorsstring[]

Restricts the operators offered in the header filter (by operator name).

#filterTyperequiredFilterTypeId | 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. Resolved filter type id — always set on computed columns.

#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[]

#idrequiredstring

#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.

#pinnedrequiredboolean

Whether the column is pinned.

#pivotablerequiredboolean

Whether the column can be used in pivoting.

Defaults to true.

#renderGroupValueAdaptableColumnRenderGroupValueFn

#renderHeaderAdaptableColumnRenderHeaderFn

#renderValueAdaptableColumnRenderValueFn

#resizablerequiredboolean

Whether the column can be resized.

#rowGroupablerequiredboolean

Whether the column can be used in row grouping.

Defaults to true.

#sortablerequiredboolean

Whether the column can be sorted.

#sortTyperequiredstring

#valueGetterrequired(params: AdaptableValueGetterParams) => any

Computes the column value from the row data.

#visiblerequiredboolean

Whether the column is visible.

#widthnumber

The default width of the column.

#Used by