Since: Editor 1.0

Set data event - triggered before the page is updated (deprecated).
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.


Set data event, fired when the data is gathered from the form to be used to update the DataTable. This is a "global" version of preCreate, preEdit and preRemove and can be used to manipulate the data that will be added to the DataTable for all three actions.

Event naming / backwards compatibility note

Prior to Editor 1.3, events were prefixed with the string on and this event was called onSetData. That event name can still be used, and will function exactly the same way as the event documented here. The new name is used for simplicity and coherence with the event naming conventions in DataTables.