Get / set the template element to use for the main form.
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.
This method provides the ability to programmatically control the element that Editor will use to display its main form (see
Please note that if you overwrite an existing template node and want to be able to use it again in future, you will need to use this function as a getter initially to store it in a variable that can be reused when required. Without doing this, or inserting the element back into the document, it would be garbage collected by the browser.