FreeTextColumn

View as Markdown

An editable column whose values live in Adaptable State.

ColumnId is the id of the new column. FreeTextColumnSettings.DataType is required. TextEditor applies to string columns: 'Inline' (the default) edits in the cell, 'Large' opens AG Grid's large text editor.

TypeScript
export interface FreeTextColumn extends
Extends

AdaptableObject

Properties

PropertyTypeDescriptionDefault
ColumnIdstringId of the column AdapTable creates. It is not the id of a column already in the data source.
DefaultValueanyValue shown for a data row that has no FreeTextStoredValues entry for its primary key.
FreeTextColumnSettingsFreeTextColumnSettingsAdditional optional properties for Column (e.g. filterable, resizable)
FreeTextStoredValuesFreeTextStoredValue[]Values stored for this column, keyed by the row primary key. A stored value is shown instead of DefaultValue.
FriendlyNamestringFriendly Name to use to refer to Column; if unset ColumnId is used
TextEditor'Inline' | 'Large'Editor for a string Free Text Column. 'Inline' edits in the cell. 'Large' opens AG Grid's large text editor.'Inline'
IsReadOnlybooleanSets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

Property Details

ColumnId

Id of the column AdapTable creates. It is not the id of a column already in the data source.

TypeScript
ColumnId: string;
Property Value

string

DefaultValue

Value shown for a data row that has no FreeTextStoredValues entry for its primary key.

TypeScript
DefaultValue?: any;
Property Value

any

FreeTextColumnSettings

Additional optional properties for Column (e.g. filterable, resizable)

TypeScript
FreeTextColumnSettings: FreeTextColumnSettings;
Property Value

FreeTextColumnSettings

FreeTextStoredValues

Values stored for this column, keyed by the row primary key. A stored value is shown instead of DefaultValue.

TypeScript
FreeTextStoredValues?: FreeTextStoredValue[];
Property Value

FreeTextStoredValue[]

FriendlyName

Friendly Name to use to refer to Column; if unset ColumnId is used

TypeScript
FriendlyName?: string;
Property Value

string

TextEditor

Editor for a string Free Text Column. 'Inline' edits in the cell. 'Large' opens AG Grid's large text editor.

TypeScript
TextEditor?: 'Inline' | 'Large';
Default Value

'Inline'

Property Value

'Inline' | 'Large'

IsReadOnly

Inherited from AdaptableObject

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

TypeScript
IsReadOnly?: boolean;
Property Value

boolean