{hero}

cancelOpen

Since: Editor 1.6.2

Form open action was cancelled by the preOpen event.
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

It is possible for an open action triggered by edit(), inline(), etc to be cancelled by the preOpen event. When you are subscribing an open you need to know if preOpen cancelled the opening of the form so you can also remove your open event. This event provides that ability, letting you know when the open was cancelled by preOpen.