preEdit

Since: Editor 1.0

Pre-row update event - triggered before the row / page data is updated.
Please note - this property requires the Editor extension for DataTables.

Description

Pre-edit row event, fired just before Editor calls the DataTables row().data() method to edit data in a row, allowing modification of the data that will be used to update the table.

Event naming / backwards compatibility note

Prior to Editor 1.3, events were prefixed with the string on and this event was called onPreEdit. 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.

Type

function( e, json, data, id )

Parameters: