How to hide splitcontainer pane programmatically. I have 3 panels. i want to hide show one panel on press of a button. how to do that ? Don’t want to destroy it.
How to hide splitcontainer pane programmatically. I have 3 panels. i want to hide
Share
Use SplitContainer’s addChild() and removeChild() methods:
Follow my jsFiddle to see and play with working example including toggling of panes.
Also please note, that SplitContainer is deprecated and you should use dijit.layout.BorderContainer instead. Set data-dojo-props=”splitter:true” to enable drag-n-drop resizing.