bootstrap

Since: Editor 1.0

Use a Bootstrap modal to display the main editing form.
Please note - this property requires the Editor extension for DataTables.

Description

If you are using DataTables and Editor in a Bootstrap styled site, you will likely wish to use the Bootstrap modal to display your editing form in so it fits in seamlessly with the rest of your site.

The bootstrap display controller is included in Editor's Bootstrap integration files and it will automatically set the display option's default value to be boostrap (so you don't need to specify it explicitly).

Options

There are no special options or actions required when using the Bootstrap modal display controller with Editor, simply include the Bootstrap integration file for Editor!

Type

This option can be given in the following type(s):

Example

Initialise Editor with the Bootstrap display controller:

var editor = new DataTable.Editor({
	ajax: 'php/index.php',
	table: '#myTable',
	display: 'bootstrap'
});