PDA

View Full Version : How to select a TabItem in a TabPanel programmatically



gishmo
30 Dec 2011, 2:19 AM
I am looking for something similar in GXT 3.0 like selectTab in GWT.

I have a TabPanel with several tabs and I want to focus a tab depending on several criteria. In GXT 2.x I could do this with: tabPanel.setSelection(...).

How will I do this with GXT 3.0?

Thanks

sven
30 Dec 2011, 2:22 AM
setWidget is doing this

gishmo
30 Dec 2011, 2:33 AM
Thanks!