Hi,
I have searched on this topic and found a few posts, but still am stuck trying to disable the tab button of a pane in a TabContainer. I am using Dojo 1.1.0.
Here is my tab container:
Here is the function to disable the tab button:
function disableListTab() {
var tabContainer = dijit.byId('mainTabContainer');
if (tabContainer) {
tabContainer.tablist.pane2button[tabContainer.getChildren()[0]].setAttribute('disabled',true);
}
}
But nothing happens. No error reported in FF console.
What am I missing?
Thanks very much, chris

Here is my tab container
Here is my tab container which did not get into the first post:
<div id="mainTabContainer" dojoType="dijit.layout.TabContainer" style="width: 100%;height: 43em;">
<div dojoType="dijit.layout.ContentPane" title="Matrix" style="width: 100%">
<!-- some html stuff -->
</div>
<div dojoType="dijit.layout.ContentPane" title="List" id="listTab">
<!-- some html stuff -->
</div>
<div dojoType="dijit.layout.ContentPane" title="Conflicts">
<!-- some html stuff -->
</div>
</div>
tried the same
hi chrisg
I was trying the same thing but was not able to do the same :-(
I tried a lot of things including changing properties of domnodes etc, but i guess messed up and got confused,
will try a fresh try this weekend, will let u know, if u find anything pls share
Dino