Solved! Go to Solution.
in the eSearchWidget.xml I have <disablebuttons>grid,spatial,datagrid,graphic</disablebuttons> set.
also, along with disabling the showStateResult, I moved the loader up to the text area as per here:
http://forums.arcgis.com/threads/64335-eSearch-disable-Results-state?p=223600#post223600
This way, I only have the text search options and no other icons across the top. The loader function shows the spinner while loading, then, after load is done, it gives you the total number selected but you never navigate away from the initial search box so are ready for the next search.
[ATTACH=CONFIG]18867[/ATTACH]
R_
<layer label="Post-closure" type="dynamic" visible="true" alpha="1.0" url="http://gis01.wch-rcc.com/ArcGIS/rest/services/SDCV_custom/post_closure/MapServer"> <sublayer id="2" popupconfig="popups/PopUp_wastepolys.xml"/> <sublayer id="0" popupconfig="popups/PopUp_wastepoints.xml"/> <sublayer id="1" popupconfig="popups/PopUp_wastelines.xml"/> </layer>
if(!disGrid){
wTemplate.addTitlebarButton(ICON_URL + "i_table.png", resultsLabel, showStateResults);
}
After I click the search button on Robert's widget, I'd like the mouse to revert back to the pan tool so I can scoot around the map and see the selected points. It currently stays with the action to select more features.
I think I need to do something to the function queryFeaturesGra(), along the lines of navTool.activate. That once a graphic search is excuted, the mouse changes to pan.
Any chance you know?