PDA

View Full Version : Gridpanel lose focus after Ext.Msg.show or window.show



lakilevi
21 Sep 2011, 2:51 AM
Hello.

I have a simple grid, and I can use the keyboard arrows (up and down) to navigate in it.
But if I want to delete (or edit) a grid row, and I display a warning message before the real delete, after the message is gone, I cannot use the keyboard arrows any more to navigate in the grid. The row is selected, but I have to click with the mouse in the grid panel to be able to use the arrows.

This makes me problems in keyboard usage, I developed also some keyboard shortcuts but there I have also the same focus problem.

Could somebody tell me how can I focus back in the original element after a Msg,show() or window.show() ?

Thanks in advice!