[Users] How to trigger click on button in toolbar

Andreas Hocevar ahocevar at opengeo.org
Thu Feb 17 12:22:06 CET 2011


Hi,

the easiest way is to activate or deactivate the control that is associated with the GeoExt.Action, using the activate() or deactivate() methods.

Regards,
Andreas.

On Feb 17, 2011, at 11:08 , Vidal, Antoni wrote:

> Hello list,
>  
> I’ve a toolbar in a mappanel with several GeoExt.Action buttons. I would like to change to pressed one of this buttons when users makes click in an html link inside a treepanel item.
>  
> Any tips or suggestion will be appreciated.
>  
> Antoni Vidal
> Unitat d'Aplicacions SIG-WEB
> Institut Cartogràfic de Catalunya
> Parc de Montjuïc, E-08038 Barcelona
> Tel. (+34) 93 567 15 00 (ext. 3228)
> www.icc.cat
>  
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list