I just configured the query widget for my application and it works well for the most part. However it would be great if when I run the query, my existing operational layers would automatically be disabled with query results layer as only visible layer. Similarly I want the operational layer to be re-enabled when I click on remove the result link or close the widget.
I tried looking into query widgets code but not sure where the click events are buried.
Has anyone got any ideas about this?