Skip to content

Column Layout Persistence and Cell Editing Improvements

Compare
Choose a tag to compare
@olifolkerd olifolkerd released this 24 Jan 13:44
· 3784 commits to master since this release

Column Layout Updates

A number of column manipulation functions have been added in this release. For detailed documentation on these functions click here.

Persistent Column Layout

Tabulator can store the layout of columns in a cookie so that each time a user comes back to the page, the table is laid out just as they left it. To enable this feature set the _columnLayoutCookie_ options parameter to _true_.

Set New Column Definitions

Column definitions can be changed after Tabulator creation using the _setColumns_ function.

Get Column Definitions

To get the current column definition array (including any changes made through user actions, such as resizing or re-ordering columns), call the _getColumns_ function.

Cell Editor Updates

A number of updates have been made to the cell editing system, For detailed documentation click here.

New Editing Class

When cells are being edited, they now gain the _tabulator-editing_ class.

Abort Edit

It is now possible to abort the creation of an editor by returning _false_ from the editor function instead of the editor DOM element.