destroyEditor
Since: Editor 2.2.3
Editor instance destroyed.
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.
Description
This event is triggered on the document
whenever an Editor instance is destroyed (i.e. through the use of destroy()
). It can be used to maintain a pool of Editor instances available on your page, if that is required for your application.
Note that unlike the other Editor events, do not listen for it on the Editor instance (since you don't know what that is!), but rather on the document
element. The Editor instance that was created is passed in as the second parameter to the callback function.