-
7 Jan 2013 11:54 AM #1
Can't tab (keyboard navigate) focus to Grid Panel component
Can't tab (keyboard navigate) focus to Grid Panel component
In my HTML page, I have these components in the following DOM order:
- Standard HTML radio buttons in a fieldset
- ExtJS Form Panel with 3 combo boxes
- Basic ExtJS Grid Panel with single Row Selection
- Standard HTML button with event to remove a row in grid panel
In ExtJS 3, I was able to tab focus to the grid panel, then add event handlers for keyboard UP/DOWN to select rows. I can't figure out how to achieve something similar in version 4.
I know there are other threads related to keyboard navigation on Grid Panels, but could not find anything related to tab focusing a grid panel and then row select using Up/Down keys.
Help much appreciated.
-
7 Jan 2013 7:37 PM #2
-
8 Jan 2013 10:52 AM #3
Works but very unnatural. Also found strange behaviour, which TAB focuses correctly.
Works but very unnatural. Also found strange behaviour, which TAB focuses correctly.
I've actually enabled the FocusManager:
Not sure if that is enough. Either way, TABing through the DOM order still skips the grid panel. Am I missing a key configuration here?Code:Ext.FocusManager.enable({focusFrame: true});
It does work when I am focused on a ComboBox, press ESC (to focus the form panel), then press TAB will it then focus the grid panel. But this is simply unnatural.
Strangely, I simply tried adding the grid panel as a component in the form panel so I have the items in the following order:- ComboBox (Selection here loads selections for ComboBox #2 and #3)
- ComboBox (Selection here adds to grid panel store)
- ComboBox (Selection here adds to grid panel store)
- Grid Panel


Reply With Quote