I set startExpanded to false when map first open, see below:
<div id="leftPane" data-dojo-type="dojox.layout.ExpandoPane" title="Menu" data-dojo-props="title: 'Menu', splitter:true, region:'left',startExpanded:false" style="width:400px;">
Then I create a button on my toolbar in order to open the left Pane but can't figure out how to do so.
Here is my button code:
<div dojoType="dijit.form.Button" id="search1" onClick="dijit.byId('acc').selectChild('searchSection',true);" data-dojo-props="iconClass:'searchIcon'">Search</div>
Thank you.
This might help you.