AdaptableColumn

Defines an AdapTable Column - created at run-time based on AG Grid ColDef

TypeScript
export interface AdaptableColumn<TData = any> extends
Extends

AdaptableColumnBase

Properties

PropertyTypeDescription
aggregatablebooleanIs Column able to display aggregations (e.g. 'sum') when grouped
aggregationFunctionstringCustom Aggregation function for the Column
availableAggregationFunctionsstring[]Available Aggregations for the Column
columnGroupAdaptableColumnGroupThe parent Column group (if Column belongs to one)
exportablebooleanWhether the Column can be included in Reports
fieldExtract<keyof TData, string>Field in the row to get cell data from
fieldOnlybooleanIs the Column ONLY available as a field and never visible
filterablebooleanIs Column able to be filtered
flexnumberFlex details of the Column
groupablebooleanCan Column form a Row Group
hideablebooleanCan Column be removed from the grid
isActionColumnbooleanIs Column an Action Column
isCalculatedColumnbooleanIs Column a Calculated Column
isFixedbooleanIs Column pinned or locked into position
isFreeTextColumnbooleanIs Column a Free Text Column
isGeneratedPivotResultColumnbooleanIs Column a generated Pivot Result Column
isGeneratedRowGroupColumnbooleanIs Column a generated Row Group Column
isGeneratedSelectionColumnbooleanIs Column a generated Selection Column
isGroupedbooleanIs Column currently Row-Grouped
isPivotTotalColumnbooleanIs Column a Pivot Total Column (GrandTotal, GroupTotal, AggregationTotal)
isPrimaryKeybooleanIs this the Primary Key Column
isSparklinebooleanIs it a Sparkline Column
isTreeColumnbooleanWhether Column is the Tree Column (in Tree View)
isUIHiddenColumnbooleanWhether Column is always hidden in UI but still available programmatically
moveablebooleanCan Column be moved at run-time to a new position
pinned'left' | 'right' | falseThe pinned position of the Column
pivotablebooleanCan Column be used in a Pivot Layout
queryablebooleanCan the Column be in included in Queries / Expressions
readOnlybooleanIs Column editable; returns FALSE if Column has conditional/dynamic editability, assuming some rows are editable
resizablebooleanIs Column resizable
sortablebooleanIs Column sortable
userAllowedAggFuncsstring[]allowedAggFuncs from the column colDef or defaultColDef as supplied in Grid Options (before Adaptable rewrites allowedAggFuncs for the standard Value Aggregation menu).
visiblebooleanIs Column currently visible
widthnumberColumn width
IsReadOnlybooleanSets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

Property Details

aggregatable

Is Column able to display aggregations (e.g. 'sum') when grouped

TypeScript
aggregatable: boolean;
Property Value

boolean

aggregationFunction

Custom Aggregation function for the Column

TypeScript
aggregationFunction?: string;
Property Value

string

availableAggregationFunctions

Available Aggregations for the Column

TypeScript
availableAggregationFunctions?: string[];
Property Value

string[]

columnGroup

The parent Column group (if Column belongs to one)

TypeScript
columnGroup?: AdaptableColumnGroup;
Property Value

AdaptableColumnGroup

exportable

Whether the Column can be included in Reports

TypeScript
exportable: boolean;
Property Value

boolean

field

Field in the row to get cell data from

TypeScript
field?: Extract<keyof TData, string>;
Property Value

Extract<keyof TData, string>

fieldOnly

Is the Column ONLY available as a field and never visible

TypeScript
fieldOnly: boolean;
Property Value

boolean

filterable

Is Column able to be filtered

TypeScript
filterable: boolean;
Property Value

boolean

flex

Flex details of the Column

TypeScript
flex?: number;
Property Value

number

groupable

Can Column form a Row Group

TypeScript
groupable: boolean;
Property Value

boolean

hideable

Can Column be removed from the grid

TypeScript
hideable: boolean;
Property Value

boolean

isActionColumn

Is Column an Action Column

TypeScript
isActionColumn: boolean;
Property Value

boolean

isCalculatedColumn

Is Column a Calculated Column

TypeScript
isCalculatedColumn: boolean;
Property Value

boolean

isFixed

Is Column pinned or locked into position

TypeScript
isFixed: boolean;
Property Value

boolean

isFreeTextColumn

Is Column a Free Text Column

TypeScript
isFreeTextColumn: boolean;
Property Value

boolean

isGeneratedPivotResultColumn

Is Column a generated Pivot Result Column

TypeScript
isGeneratedPivotResultColumn: boolean;
Property Value

boolean

isGeneratedRowGroupColumn

Is Column a generated Row Group Column

TypeScript
isGeneratedRowGroupColumn: boolean;
Property Value

boolean

isGeneratedSelectionColumn

Is Column a generated Selection Column

TypeScript
isGeneratedSelectionColumn: boolean;
Property Value

boolean

isGrouped

Is Column currently Row-Grouped

TypeScript
isGrouped: boolean;
Property Value

boolean

isPivotTotalColumn

Is Column a Pivot Total Column (GrandTotal, GroupTotal, AggregationTotal)

TypeScript
isPivotTotalColumn: boolean;
Property Value

boolean

isPrimaryKey

Is this the Primary Key Column

TypeScript
isPrimaryKey: boolean;
Property Value

boolean

isSparkline

Is it a Sparkline Column

TypeScript
isSparkline: boolean;
Property Value

boolean

isTreeColumn

Whether Column is the Tree Column (in Tree View)

TypeScript
isTreeColumn: boolean;
Property Value

boolean

isUIHiddenColumn

Whether Column is always hidden in UI but still available programmatically

TypeScript
isUIHiddenColumn: boolean;
Property Value

boolean

moveable

Can Column be moved at run-time to a new position

TypeScript
moveable: boolean;
Property Value

boolean

pinned

The pinned position of the Column

TypeScript
pinned: 'left' | 'right' | false;
Property Value

'left' | 'right' | false

pivotable

Can Column be used in a Pivot Layout

TypeScript
pivotable: boolean;
Property Value

boolean

queryable

Can the Column be in included in Queries / Expressions

TypeScript
queryable: boolean;
Property Value

boolean

readOnly

Is Column editable; returns FALSE if Column has conditional/dynamic editability, assuming some rows are editable

TypeScript
readOnly: boolean;
Property Value

boolean

resizable

Is Column resizable

TypeScript
resizable: boolean;
Property Value

boolean

sortable

Is Column sortable

TypeScript
sortable: boolean;
Property Value

boolean

userAllowedAggFuncs

allowedAggFuncs from the column colDef or defaultColDef as supplied in Grid Options (before Adaptable rewrites allowedAggFuncs for the standard Value Aggregation menu).

TypeScript
userAllowedAggFuncs?: string[];
Property Value

string[]

visible

Is Column currently visible

TypeScript
visible: boolean;
Property Value

boolean

width

Column width

TypeScript
width?: number;
Property Value

number

IsReadOnly

Inherited from AdaptableObject

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

TypeScript
IsReadOnly?: boolean;
Property Value

boolean