[Dojo-interest] Programmatically set initial view

Yoshiroh Kamiyama yoshiroh.kamiyama at gmail.com
Tue May 29 00:19:39 EDT 2012


Another solution would be to call the show() method.
(In 1.7, unfortunately setTimeout is necessary. It is not necessary in 1.8.)

dojo.ready(function(){
setTimeout(function(){
dijit.byId("view2").show();
}, 0);
});
--
ykami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20120529/7266a4ac/attachment.htm 


More information about the Dojo-interest mailing list