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
optionalOptions added to the Table
resize
:
boolean
|
string
optionalEnable ability to resize rows and columns. Pass "rows" or "columns" to resize just one axis.
resizeMin
:
number
optionalminimum number of pixels for a column