# FreeTextColumn

Canonical page: https://www.adaptabletools.com/docs/reference/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&#39;s large text editor.

```ts title="TypeScript"
export interface FreeTextColumn extends AdaptableObject 
```

###### Extends

[`AdaptableObject`](https://www.adaptabletools.com/docs/reference/adaptableobject.md)

## Properties

| Property | Type | Description | Default |
| --- | --- | --- | --- |
| [ColumnId](https://www.adaptabletools.com/docs/reference/freetextcolumn.md#columnid) | `string` | Id of the column AdapTable creates. It is not the id of a column already in the data source. |   |
| [DefaultValue](https://www.adaptabletools.com/docs/reference/freetextcolumn.md#defaultvalue) | `any` | Value shown for a data row that has no `FreeTextStoredValues` entry for its primary key. |   |
| [FreeTextColumnSettings](https://www.adaptabletools.com/docs/reference/freetextcolumn.md#freetextcolumnsettings) | [`FreeTextColumnSettings`](https://www.adaptabletools.com/docs/reference/freetextcolumnsettings.md) | Additional optional properties for Column (e.g. filterable, resizable) |   |
| [FreeTextStoredValues](https://www.adaptabletools.com/docs/reference/freetextcolumn.md#freetextstoredvalues) | [`FreeTextStoredValue`](https://www.adaptabletools.com/docs/reference/freetextstoredvalue.md)`[]` | Values stored for this column, keyed by the row primary key. A stored value is shown instead of `DefaultValue`. |   |
| [FriendlyName](https://www.adaptabletools.com/docs/reference/freetextcolumn.md#friendlyname) | `string` | Friendly Name to use to refer to Column; if unset `ColumnId` is used |   |
| [TextEditor](https://www.adaptabletools.com/docs/reference/freetextcolumn.md#texteditor) | `'Inline' \| 'Large'` | Editor for a string Free Text Column. `'Inline'` edits in the cell. `'Large'` opens AG Grid&#39;s large text editor. | &#39;Inline&#39; |
| [IsReadOnly](https://www.adaptabletools.com/docs/reference/freetextcolumn.md#isreadonly) | `boolean` | Sets Entity to ReadOnly (overwriting a Strategy Entitlement of &#39;Full&#39;) |   |

## Property Details

### ColumnId

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

```ts title="TypeScript"
ColumnId: string;
```

###### Property Value

`string`

### DefaultValue

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

```ts title="TypeScript"
DefaultValue?: any;
```

###### Property Value

`any`

### FreeTextColumnSettings

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

```ts title="TypeScript"
FreeTextColumnSettings: FreeTextColumnSettings;
```

###### Property Value

[`FreeTextColumnSettings`](https://www.adaptabletools.com/docs/reference/freetextcolumnsettings.md)

### FreeTextStoredValues

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

```ts title="TypeScript"
FreeTextStoredValues?: FreeTextStoredValue[];
```

###### Property Value

[`FreeTextStoredValue`](https://www.adaptabletools.com/docs/reference/freetextstoredvalue.md)`[]`

### FriendlyName

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

```ts title="TypeScript"
FriendlyName?: string;
```

###### Property Value

`string`

### TextEditor

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

```ts title="TypeScript"
TextEditor?: 'Inline' | 'Large';
```

###### Default Value

&#39;Inline&#39;

###### Property Value

`'Inline' | 'Large'`

### IsReadOnly

> *Inherited from [AdaptableObject](https://www.adaptabletools.com/docs/reference/adaptableobject.md)*

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of &#39;Full&#39;)

```ts title="TypeScript"
IsReadOnly?: boolean;
```

###### Property Value

`boolean`
