I am using Arcgis Javascript API Editor widget to create and edit features. The feature creation is working properly, but it seems the feature selection is fetching the previous attribute values in Infowindow popup, if the feature layer is in "SELECTION" mode but it seems working fine in "ONDEMAND" mode. Is there any option to achieve this in "SELECTION" mode?
Solved! Go to Solution.
Hi Palanisamy,
From the description above I feel that the previous selection or Graphics are not cleared before the next selection is being made.
Try using map.graphics.clear() or featureLayer.clearSelection() method before you select the next feature.
Let me know if that works.
Thanks,
Akshay
Hi Palanisamy,
From the description above I feel that the previous selection or Graphics are not cleared before the next selection is being made.
Try using map.graphics.clear() or featureLayer.clearSelection() method before you select the next feature.
Let me know if that works.
Thanks,
Akshay
Hi Akshay,
Thanks for the reply, Your answer was helped to me that I have used featureLayer.clearSelection() method before select the next feature. it will fixed my issue.
You are welcome!