{hero}

submitSuccess

Since: Editor 1.0

Form submitted to the server, and data processed event (success only).
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

Submission complete and successful event, fired when data has been successfully submitted to the server and all actions required by the returned data (inserting or updating a row) have been completed.

Please note the difference between the following three events that can happen at the end of a submit - only one of them will trigger for each submit action:

  • submitSuccess - Processed correctly and no errors detected.
  • submitUnsuccessful - Processed correctly, but validation errors found.
  • submitError - An uncontrolled error occurred at the server-side (typically a JSON formatting error).

Event naming / backwards compatibility note

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

Comments (0)

No comments posted for this page yet. Be the first to contribute!

Post new comment

Contributions in the form of tips, code snippets and suggestions for the above material are very welcome. To post a comment, please use the form below. Text is formatted by Markdown.

To post comments, please sign in to your DataTables account, or register:

Any questions posted here will be deleted without being published.
Please post questions in the Forums. Comments are moderated.