Major Changes
- #2251 by @zbeyens –
TablePlugin
optiondisableUnsetSingleColSize
has been renamed and inverted intoenableUnsetSingleColSize
. New default is disabled. Migration:- if using
disableUnsetSingleColSize: true
, the option can be removed - if using
disableUnsetSingleColSize: false
, useenableUnsetSingleColSize: true
- if using
getTableColumnIndex
second parameter type is now:cellNode: TElement
Minor Changes
- #2251 by @zbeyens –
TablePlugin
new option:initialTableWidth
– If defined, a normalizer will set each undefined tablecolSizes
to this value divided by the number of columns. Merged cells not yet supported. If not defined, the table column sizes will stay toauto
.insertTableColumn
: if optioninitialTableWidth
is defined, the column size will be set to (a) the size of the next column if defined, (b) the size of the current column if it's the last one or (c)initialTableWidth / colSizes.length
. If not defined, the column size stays toauto
.- Headless UI:
TableElement
:onMouseDown
will collapse the selection if some cells are selected
TableCellElement
- new prop
resizableProps.step?: number
: Resize by step instead of by pixel.
- new prop
TableRowElement