ContentPane in dojo

193
0
03-25-2022 05:28 AM
upanshuvaid
New Contributor II

i have a tabcontainer tc in which created contentpane (cp) .In this cp (tab8) have created a button with label Show Layer List when click button a new cp is created in which closable is set to true.now my requirement is when closable is clicked it should be closed which is working than again showlayerlist is clicked same cp or new cp is to be shown tab8=new ContentPane({title:"Legend",id:"legendid" });tc.addChild( tab8 ); tab8.addChild( new dijit.form.Button({"label": "Show Layer List",id:"LayerListBtn", onClick: function(){ showLayerListFunction( layerList, LayerList, defineActions, dom); } })); 

Tags (1)
0 Kudos
0 Replies