Editor Reference

Editor is a comprehensive extension for DataTables that adds editing abilities to a DataTable. It allows you to set up editing for table based data, and for standalone data, which can be submitted to a server for storage, typically (although not always) in a database. As part of the DataTables suite, we provide server-side libraries that provide full integration with Editor for:

This section of the site is the reference documentation for Editor, including full details of API methods, initialisation options, events, field types and more. For a high-level overview of Editor, including installation and initialisation, please refer to its manual.

Editor reference

Options

Editor has a number of options which can be configured using the initialisation object that is passed into the DataTable.Editor() constructor when creating a new Editor instance. This section details all of these options, with code examples of how each option can be used. Read more »

API

The Editor API allows manipulation and control of the form and fields of the Editor instance after it has been initialised. Like the DataTables API, the Editor API makes heavy use of chaining to provide an intuitive and expressive API, that allows you to get the maximum amount done with the minimum amount of code. Read more »

API

Display controllers can dramatically change how the form is displayed to the end user. This section of the reference documents the built-in display controllers, and more can be added through plug-ins if required. Read more »

API

Editor has a number of field types built-in and ready for use. Each field type provides the common options and methods for use with the basic initialisation options for each field and for the API to interact with, but they may also add their own options and API methods, as suitable for each field. Read more »

Events

It can often be useful to know when a Editor has performed a particular operation, since user interfaces, by their very nature are asynchronous with user interaction driving the controls of the interface. For this purpose, Editor will emit custom events which can be listened for and acted upon as needed. Read more »

Types

The interfaces Editor presents often expect, or return, specific data types. These data types are fully defined here, for clarity in the documentation. Read more »