keys.move()
Move the focus to an adjacent cell.
Please note - this property requires the KeyTable extension for DataTables.
Description
This method can be used to access KeyTable's internal logic to move the focus of a cell to an adjacent cell, taking into account paging, filtering, ordering, server-side processing, etc.
Note that if you know the cell (by node or index) you want to move the focus to use cell().focus()
.
Type
function keys.move( direction )
- Description:
Move the focus from the current cell to one adjacent to it.
- Parameters:
Name Type Optional 1 direction
No This option can be given as the following values:
up
- Move updown
- Move downleft
- Move leftright
- You guessed it, move right
- Returns:
DataTables API instance
Related
The following options are directly related and may also be useful in your application development.