PDA

View Full Version : [FIXED-EXTJSIV-435] DataViewModel not accepting keyboard navigation



paulg
28 Mar 2011, 9:19 AM
Hi,

Keyboard navigation is not firing events - onNavKey - for DataViews. This is working for the RowSelectionModel for grids. It appears that



view.el.set({
tabIndex: -1
});


is missing from the bindComponent (it is in the initKeyNav which is called by bindComponent in RowSelectionModel).

For now I stuck this in the DataView render listener which works and it now fires select event when using keyboard navigation as expected.

Cheers,
-Paul

jarrednicholls
28 Mar 2011, 10:53 PM
Hi Paul,

Thanks for pointing this out! Indeed the DataView was missing a tabIndex in order to obtain focus and collect key events. This will be fixed in the next release.