PDA

View Full Version : How to set tabindex ( tab focus) for widget like panel,tree,grid



Periyasamy A
7 Jul 2012, 12:05 PM
How to set tabindex ( tab focus) for widget like panel,tree,grid

scottmartin
7 Jul 2012, 12:39 PM
You can use:
tabPanel.setActiveTab(0) // index of tab ...

Not sure I understand the question about the widget ... are you asking how to set focus on the widget that is on the active tab?

Scott.

Periyasamy A
8 Jul 2012, 9:35 AM
My question was tabIndex=0 for widget tree and grid panel etc

scottmartin
8 Jul 2012, 10:41 AM
See if the following helps:



grid.view.getEl().set( {tabindex: index} )


Scott.