Thursday, 1 July 2010

Hide Tabs inside the Tab panel

Ext.getCmp(‘LetterEditorTabPanel’).show()

LettTabPanel = Ext.getCmp(‘LetterEditorTabPanel’ )

To Hide a Tab:

LettTabPanel.getTabEl(AddressTab).style.display =‘none’;

To Display it again:

LettTabPanel.getTabEl(AddressTab).style.display =’block’;

No comments:

Post a Comment