FreeTextColumn
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.
export interface FreeTextColumn extendsExtends
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| ColumnId | string | Id of the column AdapTable creates. It is not the id of a column already in the data source. | |
| DefaultValue | any | Value shown for a data row that has no FreeTextStoredValues entry for its primary key. | |
| FreeTextColumnSettings | FreeTextColumnSettings | Additional optional properties for Column (e.g. filterable, resizable) | |
| FreeTextStoredValues | FreeTextStoredValue[] | Values stored for this column, keyed by the row primary key. A stored value is shown instead of DefaultValue. | |
| FriendlyName | string | Friendly 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' |
| IsReadOnly | boolean | Sets 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.
ColumnId: string;Property Value
string
DefaultValue
Value shown for a data row that has no FreeTextStoredValues entry for its primary key.
DefaultValue?: any;Property Value
any
FreeTextColumnSettings
Additional optional properties for Column (e.g. filterable, resizable)
FreeTextColumnSettings: FreeTextColumnSettings;Property Value
FreeTextStoredValues
Values stored for this column, keyed by the row primary key. A stored value is shown instead of DefaultValue.
FreeTextStoredValues?: FreeTextStoredValue[];Property Value
FriendlyName
Friendly Name to use to refer to Column; if unset ColumnId is used
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.
TextEditor?: 'Inline' | 'Large';Default Value
'Inline'
Property Value
'Inline' | 'Large'
IsReadOnly
Inherited from AdaptableObject
Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
IsReadOnly?: boolean;Property Value
boolean