Keyboard navigation between two grids

0 Answers 40 Views
Accessibility Grid
Randy
Top achievements
Rank 1
Randy asked on 15 Oct 2024, 02:53 AM | edited on 16 Oct 2024, 01:49 AM

Hi,

Following this official instruction, we can use TAB key to navigate within a single grid editable cells. However the user requirement is to navigate between two grids - when navigate to the last editable cell in the grid, hitting TAB again should focus on the first editable cell in another grid, and vise versa.

We've tried to use a service (since grids are in different components) in "InCellTabDirective", when no next cell to navigate to, to raise a notification and the next grid will subscribe this notification and put first cell into edit mode with "editRow()". However this does not work as smoothly as expected. It seems the grid header always have a tabindex so will prevent to focus on a cell within, so have to press TAB twice to actually focus on the cell element. Sometimes the kendoTextBox in the first cell does not get focused but instead the cell itself. Sometimes when jumping between two grids the "jump-from" grid still in edit but loses focus, and the "jump-in" grid and two rows focused at the same time.

Is there an official approach or demo how to achieve this - navigate out of current grid to another element, or navigate into grid from outside. Thanks in advance.

Version used: @progress/kendo-angular-grid: "~16.5.0"

No answers yet. Maybe you can help?

Tags
Accessibility Grid
Asked by
Randy
Top achievements
Rank 1
Share this question
or