Hi Kyle, take a look at http://geoext.github.io/geoext2/examples/action/mappanel_with_actions.js there is an Example of the usage of toggleGroup like Bart suggested.
Best regards Chris Von: users-boun...@geoext.org [mailto:users-boun...@geoext.org] Im Auftrag von Bart van den Eijnden Gesendet: Montag, 10. Februar 2014 17:58 An: Purdon Cc: Users@geoext.org Users Betreff: Re: [Users] GeoExt action (only allow a one of two actions at a time) 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 <kylepur...@gmail.com<mailto:kylepur...@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@geoext.org<mailto:Users@geoext.org> http://www.geoext.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list Users@geoext.org http://www.geoext.org/cgi-bin/mailman/listinfo/users