{hero}

create

Since: Editor 1.0

Row creation event - triggered immediately after the row has been added.
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.

Description

Create new row event, fired when a new row has been created in the DataTable by a form submission. This is called immediately after the row.add() call to the DataTable. Please note that at this point the DataTable will not have been redrawn with the new row shown in the document - i.e. you won't be able to query the DOM to get the elements, rather you need to use the DataTables API to get the row details.

Event naming / backwards compatibility note

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