Key navigation crashes after draw second grid


#1

Hello

https://snippet.dhtmlx.com/hrvcmkyq

Keyboard navigation in grid is disabled after selection row.

  1. Select row in first grid
  2. Event ‘AfterSelect’ is called and draw second grid
  3. Keyboard navigation does not work in first grid

#2

Thank you for your report.
The problem is confirmed. We’ll try to fix it in one of the future updates.


#3

Your reported problem was fixed in the dhx.Suite 7.2.5 update.
Now you are able to force the focus to the grid using the grid.selection.setCell() method:
https://snippet.dhtmlx.com/a5d8luw3


#4

In this case I cannot select several rows when using the grid.selection.setCell()

https://snippet.dhtmlx.com/dz55szle


#5

If you are using the multiselection please, try to operate with the proper API:
https://snippet.dhtmlx.com/vaea3oak
refer to the third attribure of the selection.setCell() method:
https://docs.dhtmlx.com/suite/grid/usage_selection/#setting-selection-to-multiple-cellsrows