I am trying to create a TabContainer with flexible height. The content for the tabs is dynamic so I have been able to programmatically generate the tabcontainer using with the following code:
var tc = new dijit.layout.TabContainer({ | |
style: "width:100%; color:#000000; background-image:none; background-color:transparent;" | |
}, dojo.create("div")); |
I want to be able to add in the data-dojo-props doLayout=false but I can't seem to figure out within the above call where to place it. Any help would be appreciated.
Solved! Go to Solution.
You should be able to do it adding it into the constructor
var tabContainer = new dijit.layout.TabContainer({
id: "tabContainer",
name: "tabContainer",
doLayout: "false"
}, div);
You should be able to do it adding it into the constructor
var tabContainer = new dijit.layout.TabContainer({
id: "tabContainer",
name: "tabContainer",
doLayout: "false"
}, div);
Thanks Ken. Got it to work with your suggestion.