{hero}

keys.enabled()

Since: KeyTable 2.6.0

Determine the KeyTable enabled state for a table.
Please note - this property requires the KeyTable extension for DataTables.

Description

This method can be used to determine the state of KeyTable on a DataTable, as controlled by keys.enable() and keys.disable(). The values that the method can return match what can be set with keys.enable():

  • true - Fully enable KeyTable
  • false - Fully disable KeyTable (keys.disable())
  • navigation-only - Respond to navigation inputs only

Type

function keys.enabled()

Description:

Query the API to determine the KeyTable's state for the table.

Returns:

Enabled state

Related

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