Keyboard navigation

TreeGrid control supports the following keyboard shortcuts for performing various actions and keyboard navigation can be enabled/disabled by AllowKeyboardNavigation property

Home : To select the first row.

End : To select the last row.

F2 : For editing the focused cell of the selected row.

Enter : To save the edited cell.

Delete : To delete the selected row.

Ctrl + Down Arrow : To expand all the parent row.

Ctrl + Up Arrow : To collapse all the parent row.

Left Arrow : To collapse the selected parent row.

Right Arrow : To expand the selected parent row.

Click here to view the online demo sample for Keyboard Navigation.