Hi,
I have a Custom Widget on left, which has a clear button.
I have a query Widget on the right (red color), which shows some results.
Question:
How do I clear the results on the query widget by clicking the clear button. Also How do I clear the graphics from the map. this.map.graphics.clear only removes my buffer not the (voilet Symbols).
I tried the following code, but did not work.
clearAll:function(){
var qWidget = WidgetManager.getInstance().getWidgetsByName("Query")[0];
debugger;
if(qWidget){
qWidget._updateResultDetailUI();
}
},