[Dojo-interest] Programatically change SplitContainer orientation

jduley jason.duley at gmail.com
Mon Jan 1 11:50:59 MST 2007


Hi,
I am creating a component that contains a SplitContainer widget, and I would
like to be able to allow the user to toggle the orientation.  I have code
such as ...


//html file of component
...
<div dojoAttachPoint="componentSplitContainer" dojoType="SplitContainer"
orientation="horizontal" sizerWidth="5" activeSizing="true"
style="height:100%;">
...

//js toggle function
this.componentSplitContainer.orientation = 'vertical';		


and this seems to be having no effect on the layout.  I also tried this with
no luck ...

this.componentSplitContainer.orientation = 'vertical';
this.componentSplitContainer.layoutPanels();  	

Any help would be greatly appreciated.  Happy New Year.
Jason

-- 
View this message in context: http://www.nabble.com/Programatically-change-SplitContainer-orientation-tf2904998.html#a8115842
Sent from the Dojo mailing list archive at Nabble.com.



More information about the Dojo-interest mailing list