Category Archives: GXT

GXT TabPanel ActiveWidget & TabItemConfig

For those of you GXT Devs, selecting tabs are not always easy.
Here is a method to set the active tab using a TabItemConfig.

     * Sets the active widget using TabItemConfig.
     * @param config the TabItemConfig
     * @param container the TabPanel
    public void setActiveWidget(TabPanel tabGroup, TabItemConfig config){
    	int len = tabGroup.getWidgetCount();
    	for ( int i = 0; i < len; i++ ) {
    		Widget panel = tabGroup.getWidget(i);

Continue reading

Posted in GXT | Leave a comment