New to Telerik UI for ASP.NET Core? Download free 30-day trial

ASP.NET Core Gantt Keyboard Navigation

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
keyboard_navigation.cshtml
Keyboard_NavigationController.cs
GanttTaskService.cs
GanttDependencyService.cs
TaskViewModel.cs
DependencyViewModel.cs
Keyboard_Navigation_TagHelper.cshtml

Also available for:

CLIENT-SIDE API HTML HELPER API

Description

Keyboard navigation provides all web and app users with a fast keyboard-only navigation capability and is also part of the web accessibility features--it enables users with disabilities to fully control their website or app access through the keyboard.

By default, users can only navigate to links, buttons, and form controls with a keyboard. The navigation order in which interactive items receive keyboard focus has to be logical and intuitive. Generally, keyboard navigation logic needs to follow the visual horizontal and vertical flow of the page, for example, left to right and top to bottom, header first followed by the main and then the page navigation.

navigation logic needs to follow the visual horizontal and vertical flow of the page, for example, left to right and top to bottom, header first followed by the main and then the page navigation.

The keyboard navigation of the Telerik UI for ASP.NET Core Gantt is enabled through the Navigatable configuration property.

The Gantt supports the following keyboard shortcuts:

Focus

  • Alt + W Focuses the component.

Actions Applied to the Toolbar of the Gantt

  • F10 Focuses the toolbar.
  • Space Activates the toolbar item.
  • Right Arrow Focuses the next toolbar item.
  • Left Arrow Focuses the next toolbar item.

Actions Applied to the Timeline of the Gantt

  • Delete Deletes the currently selected task and/or dependency.
  • Up Arrow Focuses the previous task.
  • Down Arrow Focuses the next task.
  • Left Arrow Scrolls to the left.
  • Right Arrow Scrolls to the right.
  • Home Focuses first task.
  • End Focuses last task.
  • Enter Opens a popup for editing the current task.
  • Alt + Right Arrow Expands a task.
  • Alt + Left Arrow Collapses a task.

Actions Applied to the TreeList Header of the Gantt

  • Enter Sorts by the column.

Actions Applied to the TreeList Data Table of the Gantt

  • Arrow Keys Navigate over the cells.
  • Enter Opens the cell editor.
  • Esc Closes the cell editor.
  • Space Selects the row of the currently highlighted cell.
  • Delete Deletes the currently selected task.
  • 1 - 3 Move between the available views.
  • Alt + Left Arrow Expands the task.
  • Alt + Right Arrow Collapses the task.

Actions Applied to the Add Task Action Drop-Down of the Gantt

  • Up Arrow Highlights the previous item.
  • Down Arrow Highlights the next item.
  • Enter Selects the highlighted item.
  • Esc Closes the drop-down.

Additional Apps

This Gantt example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources