Keyboard Navigation Extension

Read details about the Keyboard navigation extension in the article Keyboard Navigation.
The keyboardNavigation object possesses the following API:

Methods

  • focus() - allows selecting any cell in the grid. Works only if the Grid already has the focus
gantt.ext.keyboardNavigation.focus({type:"taskCell",id:"taskId",column:"columnName"});

Related sample:  Selecting a grid cell

  • getActiveNode() - allows obtaining information about the active cell
var active_node = gantt.ext.keyboardNavigation.getActiveNode();
// -> {type: "taskCell", id: "10", column: "text"}

Related sample:  Getting the active cell

Back to top