# TableScrollConfig

interface

The configuration of the table scroll feature.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-table/src/tableconfig.ts#L778)

<a id="properties">

## Properties

<a id="member-tableTypes">

### `tableTypes?: Array<TableType>`

The list of table types for which a table that is wider than its container is allowed to become horizontally scrollable, and for which the column resize handle is allowed to drag the table's width past 100% of the container width.

By default, only `'content'` tables are scrollable. Layout tables are not included by default, since letting a layout table grow past the container width can easily break the intended page layout - to allow it anyway, add `'layout'` to the list:

```typescript
const tableConfig = {
	tableScroll: {
		tableTypes: [ 'content', 'layout' ]
	}
};
```

Note that regardless of this setting, only a table that is a direct child of the editing root can become scrollable - a table nested inside another table, a block quote, or any other container never scrolls.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-table/src/tableconfig.ts#L802)

Defaults to `[ 'content' ]`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
