select.blurable

Since: Select 1.0.0

Indicate if the selected items will be removed when clicking outside of the table. Please note - this property requires the Select extension for DataTables.

Description

This option provides the ability to have a table act like a select list whereby any items that are selected will be automatically deselected when clicking outside of a DataTable. This can be useful to make a table "feel" more like a native operating system control, or if you have multiple tables on a page where only one should have selection at a time.

Type

boolean

Description:

Enable the blurable option of Select (true) or not (false).

Default

  • Value: false

Example

Remove selected items when clicking outside of the table:

$('#example').DataTable( {
	select: {
		blurable: true
	}
} );