Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ashok on May 29, 2008 21:47
open dhtmlx forum
How to focus the grid after the request submit on the onRowSelect handler?

Hi Team,

If I send a request while select the row in the grid. But after the request is sent, i dont have the focus on the grid.So i cant perform the row navigation using keyboard. If i select the row using mouse then only i can perform row navigation in the grid. And If i got the focus the grid, then also i can navigate. could u please guide me to acheive this criteria?


Thanks in Advance

Regards,
Ashok
Answer posted by Support on May 30, 2008 01:54
The simple js call must not move focus outside of grid, but if any other element on page receives focus, grid doesn't react on any key events.
You can move "focus" back to grid by using
    grid.setActive(true)