I was having the same problem (open: false & etc was not working). Adding
startexpanded="false"
did the trick.
😄 There are some benefits in being an untrained hack - I never notice if I have a horrid mixture - you should see some of the javascript/.asp pages I have done in the past - a total mix of syntax.I can remember having issues over this, but can't recall the specifics, it was a long time ag (well last year sometime)
I've not had an issue - here's my code for a collapsed at start bottom pane <div dojotype="dojox.layout.ExpandoPane" splitter="true" duration="125" region="bottom" title="" startexpanded="false" id="footer" maxwidth="275" style="height: 150px;"> <div id='xyz' class='ref'></div> </div>
<div dojotype="dojox.layout.ExpandoPane" splitter="true" duration="125" region="bottom" title="" startexpanded="false" id="footer" maxwidth="275" style="height: 150px;"> <div id='xyz' class='ref'></div> </div>
Have you tried removing the single quotes around 'false'? I don't have any experience with this dijit, but when JavaScript converts the string 'false' to a boolean it becomes true.
Hi Jim,I've encountered some problems with setting the 'open' parameter to false. The dijit/TitlePane would still open. Instead, I've had to use '0'. Ex:Did not work:<div id="titlePane" data-dojo-type="dijit.TitlePane" data-dojo-props="title:'Measurement', open:'false'">Worked:<div id="titlePane" data-dojo-type="dijit.TitlePane" data-dojo-props="title:'Measurement', open:0">
<div id="titlePane" data-dojo-type="dijit.TitlePane" data-dojo-props="title:'Measurement', open:'false'">
<div id="titlePane" data-dojo-type="dijit.TitlePane" data-dojo-props="title:'Measurement', open:0">
dijit.byId('Your Measurement Widgit ID here').hide();
<div data-dojo-type="dijit/TitlePane" id="layersList" title="<b>Show Me...</b>" open="false">
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.