edit
Row edit event - triggered immediately after the row / page has been updated.
Please note - this property requires the Editor extension for DataTables.
Description
Edit row event, fired when a row has been edited in the DataTable by a form submission. This is called just after the row().data() call to the DataTable API.
Event naming / backwards compatibility note
Prior to Editor 1.3, events were prefixed with the string on and this event was called onEdit. 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:
| Name | Type | Optional | |
|---|---|---|---|
| 1 | e | No | |
Event object | |||
| 2 | json | No | |
JSON data returned from the server | |||
| 3 | data | No | |
The data from the server that was used to update the page | |||
| 4 | id | No | |
Since 1.8: ID of the row / object being updated. Can be used to query the DataTables API for the row (e.g. get the node). | |||