# table/tablecolumnresize/converters

module

<a id="functions">

## Functions

<a id="function-downcastTableResizedClass">

### `downcastTableResizedClass() → ( dispatcher: DowncastDispatcher ) => void` _(internal)_

Returns downcast helper for adding `ck-table-resized` class if there is a `<tableColumnGroup>` element inside the table.

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

#### Returns

* `( dispatcher: DowncastDispatcher ) => void`

<a id="function-upcastColgroupElement">

### `upcastColgroupElement( tableUtilsPlugin ) → ( dispatcher: UpcastDispatcher ) => void` _(internal)_

Returns a upcast helper that ensures the number of `<tableColumn>` elements corresponds to the actual number of columns in the table, because the input data might have too few or too many elements.

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

#### Parameters

* `tableUtilsPlugin: TableUtils`

#### Returns

* `( dispatcher: UpcastDispatcher ) => void`

<a id="function-upcastTableResizedClass">

### `upcastTableResizedClass() → ( dispatcher: UpcastDispatcher ) => void` _(internal)_

Returns a upcast helper that removes the `ck-table-resized` class from the table element.

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

#### Returns

* `( dispatcher: UpcastDispatcher ) => void`

---

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