{hero}

select.keysWrap

Since: Select 3.1.0

Allow keyboard navigation to wrap.
Please note - this property requires the Select extension for DataTables.

Description

Select's keyboard navigation of the page will, by default, stop when it reaches the end of the table (or the start if pressing up). If you wish to have the navigation loop back around to the start, i.e. presenting the table as a list, this option can be enabled to provide that behaviour.

Type

boolean

true allows the keyboard navigation of the table with Select to wrap, while false disables this feature.

Default

  • Value: false

Example

Enable keyboard navigation and wrap - paging disabled:

new DataTable('#myTable', {
	select: {
		keys: true,
		keysWrap: true
	},
	paging: false
});

Related

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