Plugin/Resizable

A plugin to make Table's columns and rows resizable

Example

JS
import { resizable } from 'komps/plugins'
Table.include(resizable)
new Table({
    resize: ['columns'],
    data: [...],
    columns: [...]
})

Parameters

options : Object optional

Options added to the Table

resize : boolean | string optional

Enable ability to resize rows and columns. Pass "rows" or "columns" to resize just one axis.

resizeMin : number optional

minimum number of pixels for a column

Events

Fired after a column resize finishes

Properties

changes : Array

the resize changes

Fired after a row resize finishes

Properties

changes : Array

the resize changes