formOptions
Form configuration options for the editing types Editor offers.
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
Editor provides a number of styling and behavioural options for the forms it displays,through the form-options
object. The main editing methods provide the ability to set these options when calling the API methods, but it can also be useful (particularly if you are using the provided Buttons buttons) to specify default options that will be applied when those methods are called.
Editor has three editing modes:
As each editing mode provides a significantly different interface for the end user to operate, this configuration object provides the ability to configure the form options for each individually. This is done through three object parameters:
formOptions.main
- Main editorformOptions.bubble
- Bubble editorformOptions.inline
- Inline editor
For full details of the form options available, please refer to the form-options
object's documentation.