PDA

View Full Version : why setSelection removed from TabPanel?



obender
4 Jun 2008, 2:15 PM
There was a method SetSelection(TabItem) in the TabPanel, why was it removed? It is actually pretty useful.

gslender
4 Jun 2008, 5:39 PM
Mmmm are you saying this doesn't exist?

http://extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/TabPanel.html#setSelection(com.extjs.gxt.ui.client.widget.TabItem)

plitvak
4 Jun 2008, 6:47 PM
Sometimes JavaDoc and the actual code are different :) look for yourself.

obender
4 Jun 2008, 6:49 PM
Exactly my point, it is in JavaDoc but not in the code. Downloaded beta4 yesterday.

gslender
4 Jun 2008, 7:16 PM
Sorry - in my beta4 its there, and in the docs, and in the source and on the website.

So I guess that perhaps the beta4 download may have changed (which I know Darrell has had some issues) so try downloading again to be sure. It could be possibel that the current beta4 is still got problems.

If you need it desperately, I can post my beta4 gxt.jar and you can use that (its working fine for me).

Cheers,
Grant

gslender
4 Jun 2008, 7:23 PM
note - darrell has updated the beta4 zip recently - see here
http://extjs.com/forum/showthread.php?t=37330

obender
5 Jun 2008, 6:10 AM
yep, it is there now, just downloaded the beta4