cell.blur()

Since: KeyTable 2.0.0

Blur focus from the table. Please note - this property requires the KeyTable extension for DataTables.

Description

This method provides the ability to programmatically blur focus from a table (i.e. remove focus). Please note that it is not cell specific - i.e. you do not use cell(), but rather simply the cell property of the API.

Tables which are disabled (keys.disable()) cannot be blurred. You must either blur the table before disabling, or re-enable the table (keys.enable()) to allow blurring, even via the API.

This method will not throw any errors if executed on a table that already does not have focus. The key-blur event will not be triggered, but otherwise there will be no notification that a blur did not occur.

Type

function cell.blur()

Description:

Blur the focus from the focused cell.

Returns:

DataTables API instance

Example

Blur focus:

table.cell.blur();

Related

The following options are directly related and may also be useful in your application development.