Thanks, works great.
I'm going to use this quite a bit throughout my app, so I made the following server-side / client-side methods that perform the show / hide code, if anyone wants to use these in the future:
Server-side extension methods (example usage: "groupTabPanel1.HideGroupTab(groupTab1)"):
public static void HideGroupTab(this GroupTabPanel oGroupTabPanel, GroupTab oGroupTab)
{
oGroupTabPanel.AddScript("Ext.fly('" + oGroupTabPanel.ID + "__" + oGroupTab.ID + "').addClass('x-hide-display');");
}
public static void ShowGroupTab(this GroupTabPanel oGroupTabPanel, GroupTab oGroupTab)
{
oGroupTabPanel.AddScript("Ext.fly('" + oGroupTabPanel.ID + "__" + oGroupTab.ID + "').removeClass('x-hide-display');");
}
Client-side methods (example usage: "groupTabPanel1.hideGroupTab(groupTab1)"):
Ext.ux.GroupTabPanel.override
({
hideGroupTab: function(oGroupTab)
{
Ext.fly(this.id + "__" + oGroupTab.id).addClass("x-hide-display");
},
showGroupTab: function(oGroupTab)
{
Ext.fly(this.id + "__" + oGroupTab.id).removeClass("x-hide-display");
}
});