Editor instance.
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.


The DataTables.Editor data type is an Editor object instance. The Editor Javascript object is accessible under $.fn.dataTable.Editor and constructed using the Javascript new keyword. The instance provides access to the Editor API which provides the ability to construct forms and display to the end user as you require.

Creating a new Editor instance

Creating a new Editor instance is as simple as:

new $.fn.dataTable.Editor( {...} );

where {...} are the initialisation options that you require for that particular instance. Normally the instance would be assigned to a variable, so the API can be used:

var editor = new $.fn.dataTable.Editor( {...} );

editor.create(); // immediately create a new row

Further information

Use the following resources to explore the Editor options and API further: