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

TypeScript
export interface AdaptableColumn<TData = any> extends
Extends

AdaptableColumnBase

Properties

PropertyDescription
aggregatableIs Column able to display aggregations (e.g. 'sum') when grouped
aggregationFunctionCustom Aggregation function for the Column
availableAggregationFunctionsAvailable Aggregations for the Column
columnGroupThe parent Column group (if Column belongs to one)
exportableWhether the Column can be included in Reports
fieldField in the row to get cell data from
fieldOnlyIs the Column ONLY available as a field and never visible
filterableIs Column able to be filtered
flexFlex details of the Column
groupableCan Column form a Row Group
hideableCan Column be removed from the grid
isActionColumnIs Column an Action Column
isCalculatedColumnIs Column a Calculated Column
isFixedIs Column pinned or locked into position
isFreeTextColumnIs Column a Free Text Column
isGeneratedPivotResultColumnIs Column a generated Pivot Result Column
isGeneratedRowGroupColumnIs Column a generated Row Group Column
isGeneratedSelectionColumnIs Column a generated Selection Column
isGroupedIs Column currently Row-Grouped
isPivotTotalColumnIs Column a Pivot Total Column (GrandTotal, GroupTotal, AggregationTotal)
isPrimaryKeyIs this the Primary Key Column
isSparklineIs it a Sparkline Column
isTreeColumnWhether Column is the Tree Column (in Tree View)
isUIHiddenColumnWhether Column is always hidden in UI but still available programmatically
moveableCan Column be moved at run-time to a new position
pinnedThe pinned position of the Column
pivotableCan Column be used in a Pivot Layout
queryableCan the Column be in included in Queries / Expressions
readOnlyIs Column editable; returns FALSE if Column has conditional/dynamic editability, assuming some rows are editable
resizableIs Column resizable
sortableIs Column sortable
visibleIs Column currently visible
widthColumn width
IsReadOnlySets 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

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