Skip to content

Type Editor


Type Editor / @type-editor/tables / columnresizing/column-resizing

columnresizing/column-resizing

Functions

FunctionDescription

columnResizing

Creates a plugin that allows users to resize table columns by dragging the edges of column cells. The plugin provides visual feedback via decorations and updates the column width attributes in the document.

Example

typescript
const plugins = [
  columnResizing({
    handleWidth: 5,
    cellMinWidth: 25,
    lastColumnResizable: true,
  }),
  // ... other plugins
];