I try to modify clearParcelGrid() function here Buffer results to clear buffer ring instead of remove all the graphics. Can you show me how to do it?
function clearParcelGrid() {
var newStore = new ItemFileReadStore({
data: {
idenitifer: "",
items: []
}
});
var grid = registry.byId("gridP");
grid.setStore(newStore);
document.getElementById('parcelText').value = '';
featureLayerParcel.clearSelection();
map.graphics.clear();
}
Thanks.