AnsweredAssumed Answered

programmatically add/remove splitter, resize a contentpane

Question asked by schlot on Dec 14, 2015
Latest reply on Dec 15, 2015 by schlot

I have a footer as a contentPane defined as

<div id="footer" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom'">

 

I have a buffer tool based on a button click that will open a grid in the footer.  Until that tool is activated, I'd rather not see the footer at all.  Not only do I want to set a height to it, but I also want to set the splitter property on it.

 

I thought I could use dom-style like

 

domStyle.set("footer", "splitter", "true"), and also set the height this way, but it doesn't work.

Outcomes