[fusion-users] Reference JxDialog from a different control

Paul Spencer pspencer at dmsolutions.ca
Thu Oct 6 08:07:11 EDT 2011


You might be able to do something like

$jx('dlgCustomSearch').toggleCollapse();

Cheers

Paul

On 2011-09-29, at 4:32 PM, pwong wrote:

> I have a JxDialog that is created from a custom widget.  I have another
> button on the page that when clicked will collapse this JxDialog.  I seem to
> be able to get a handle on the dialog, but cannot find out how to collapse.
> 
> I've tried
> 
> $('dlgCustomSearch').style.collapse=true;
> 
> $('dlgCustomSearch').collapse();
> 
> $('dlgCustomSearch').toggleCollapse();
> 
> $('dlgCustomSearch').jxDialog.resize({forceCollapse:true});
> 
> This works to close the dialog, I just need to collapse it.
> 
> $('dlgCustomSearch').close();
> 
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Reference-JxDialog-from-a-different-control-tp6845317p6845317.html
> Sent from the Fusion Users mailing list archive at Nabble.com.
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users


__________________________________________

   Paul Spencer
   Chief Technology Officer
   DM Solutions Group Inc
   http://research.dmsolutions.ca/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20111006/407706c6/attachment.html


More information about the fusion-users mailing list