Key navigation crashes after draw second grid

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

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

1 Like

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

1 Like

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

https://snippet.dhtmlx.com/dz55szle

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

1 Like