[Users] GeoExt action (only allow a one of two actions at a time)
Bart van den Eijnden
bartvde at boundlessgeo.com
Mon Feb 10 17:57:47 CET 2014
Give them the same toggleGroup property.
Best regards,
Bart
--
Bart van den Eijnden
Front-end Developer | Boundless
@boundlessgeo
On 10 Feb 2014, at 17:38, Purdon <kylepurdon at gmail.com> wrote:
> Given the following actions: http://pastebin.com/GqSwcrmX
>
> How would I only allow one of them to be active at a time? This is more of a "whats the best way to do this" question. The only solution I could think of is to configure the Ext.button.Button to deactivate the other button on it's click event. Is this the best practice for this?
>
> Kyle W. Purdon
> Research Assistant | Center for Remote Sensing of Ice Sheets (CReSIS)
> https://www.cresis.ku.edu/~kpurdon/
> Graduate Student | University of Kansas Geography (GIS)
> http://www.geog.ku.edu/
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20140210/6a6e4880/attachment.htm
More information about the Users
mailing list