PDA

View Full Version : Showing/Hiding a Tab's Close Button



mrtedweb
12 Dec 2012, 6:23 AM
Is there any way to hide/show a tab's closable button after it's been loaded? I'm trying to write an application allowing users to 'pin' their tabs.

mrtedweb
12 Dec 2012, 8:39 AM
This is the trick:

this.getActiveTab().tab.setClosable(true/false)

I was not looking at the tab's tab component. Thanks for everyone's help.