Form open (displayed) event - Triggered before the form is displayed (cancellable).
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 sign-in, alternatively an Editor license can be purchased on this site, or sign up for the free trial.
Before a form is displayed, this event is fired. It allows the open action to be cancelled by returning false from the function.
This event is cancellable by returning
false from the event handler, which will block any further action from happening (i.e. actually displaying the form), leaving the form in its existing state.
Prior to Editor 1.3, events were prefixed with the string
on and this event was called
onPreOpen. 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.