github olifolkerd/tabulator 2.5.0
Events and Callbacks Overhaull

latest releases: 6.2.1, 6.2.0, 6.1.0...
7 years ago

The events and callbacks system has been completely overhauled to make interacting with Tabulator programatically even easier.

Full documentation of all the new callbacks can be found on the Tabulator Website.

rowEdit Callback replaced with cellEdited

the _rowEdit_ callback has been replaced with the _cellEdited_ callback. no only is this more descriptive of the event, it also contains new arguments, passing the old value of the cell, the new value, the DOM objects for the cell and the row and the name of the field being edited.

rowContext Callback no longer prevents default context menu

The _rowContext_ callback no longer prevents the default browser context menu from opening

New data flow callbacks added

New callbacks to monitor all stages of data flow in the system have been added.

  • dataLoading
  • dataLoaded
  • dataLoadError
  • dataEdited
  • dataFiltering
  • dataFiltered
  • dataSorting
  • dataSorted

Callbacks Renamed

Several callbacks have been renamed to make sure they all follow the same naming conventions.
Callbacks ending in _Load_ now end in _Loaded.
Callbacks ending with _Edit
now end with _Edited_

Movable Row Placeholder Style Added

The _tabulator-row-moving_ class has been added to allow styling of the movable row placeholder.

Scrollable Empty Tables

Empty tables can now be scrolled horizontally if the headers exceed the width of the tabulator.

Improved Sorters and Editors

Sorter and editor functions are now passed an additional _data_ argument so they can see all the data for the current row rather than just the cell being processed.

Don't miss a new tabulator release

NewReleases is sending notifications on new releases.