Example of Keyboard Navigation in ASP.NET Core Tree Grid Control

Tree Grid
Miscellaneous
Keyboard Navigation

This demo showcases the keyboard shortcuts applicable on TreeGrid and also lists out in below description, how those applicable shortcuts interacts with TreeGrid actions.

1
Planning
3/2/20175
2
Plan timeline
3/2/20175
3
Plan budget
3/2/20175
4
Allocate resources
3/2/20175
5
Planning complete
7/2/20171
6
Design
10/2/20173
7
Software Specification
10/2/20173
8
Develop prototype
10/2/20173
9
Get approval from customer
2/13/20172
10
Design complete
2/14/20171
11
Implementation Phase
2/17/201711
12
Phase 1
2/17/201711
13
Implementation Module 1
2/17/201711
14
Development Task 1
2/17/20173
15
Development Task 2
2/17/20173
16
Testing
2/20/20172
17
Bug fix
2/24/20172
18
Customer review meeting
2/26/20172
19
Phase 1 complete
2/27/20172
20
Phase 2
2/17/201712
21
Implementation Module 2
2/17/201712
22
Development Task 1
2/17/20174
23
Development Task 2
2/17/20174
24
Testing
2/21/20172
25
Bug fix
2/25/20172
26
Customer review meeting
2/27/20172
27
Phase 2 complete
2/28/20172
28
Phase 3
2/17/201711
29
Implementation Module 3
2/17/201711
30
Development Task 1
2/17/20173
31
Development Task 2
2/17/20173
32
Testing
2/20/20172
33
Bug fix
2/24/20172
34
Customer review meeting
2/26/20172
35
Phase 3 complete
2/27/20172
Properties
Keys Description
F2 Row edit
Enter Save request
Delete Delete row
Ctrl + Shift + UpArrow Collapse Child Grid
Ctrl + Shift + DownArrow Expand Child Grid
Ctrl + UpArrow Collapse All
Ctrl + DownArrow Expand All
Ctrl + Home First row selection
Ctrl + End Last row selection
Home First cell selection
End Last cell selection
Up Arrow Move row selection up
Down Arrow Move row selection down
Right Arrow Move Cell selection right
Left Arrow Move Cell selection left
Shift + Down/Up Multiple row Selection
Alt + j Focus TreeGrid element

All the TreeGrid actions can be controlled via keyboard keys and is availed by using allowKeyboardInteraction property which is set to true by default. The applicable key combinations and its relative functionalities are listed below.

KeysDescription
Ctrl + Down ArrowExpandAll
Ctrl + Up ArrowCollapseAll
F2Edit
ESCCancel
EnterSave
InsertAdd
DeleteDelete
Ctrl + HomeFirst row selection
Ctrl + EndLast row selection
HomeFirst cell selection
EndLast cell selection
Up ArrowMove row selection up
Down ArrowMove row selection down
Up ArrowMove Cell selection up
Down ArrowMove Cell selection down
Right ArrowMove Cell selection right
Left ArrowMove Cell selection left
Shift + Down/UpMultiple row Selection
Shift + Right/Left/Down/UpMultiple Cell Selection
Ctrl + Shift + Up ArrowCollapse selected parent row
Ctrl + Shift + Down ArrowExpand selected parent row
Alt + jFocus TreeGrid element
TabGo to next cell for editing
Shift + TabGo to previous cell for editing
PageDownGo to Next page
PageUpGo to Previous page
Ctrl + Alt + PageUpGo to First page
Ctrl + Alt + PageDownGo to Last page
Alt + PageUpGo to Next pager
Alt + PageDownGo to last pager

More information on the TreeGrid keyboard interaction can be found in this documentation section.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab