Hey guys, I was wondering if there is a way for me to have the batch attribute editor inside the edit toolbar. Or if I am able to replicate that functionality within the toolbar. Right now the Edit toolbar allows me to select a series of features and delete them but not edit a single attribute for all of them.
I am using this tool bar Editor | API Reference | ArcGIS API for JavaScript 3.23.
and am hoping for the toolbar to stay similar to this:
Solved! Go to Solution.
There is no exposed events to tie to, you would have to use your FeatureLayers selection complete event:
FeatureLayer | API Reference | ArcGIS API for JavaScript 3.23
Abhinav,
No, I do not know of a way to combine them.
Hi Robert,
Do you know if there is anything the select tool fires off? If I can find the rows the the select tool has selected I could just make the attribute inspector go through all the rows the select tool has selected no?
There is no exposed events to tie to, you would have to use your FeatureLayers selection complete event:
FeatureLayer | API Reference | ArcGIS API for JavaScript 3.23
Was able to use the selection complete and the getSelectedFeatures method from layers to loop through the attributes and edit the values and then use the applyEdits method from layers to get it working from the same toolbar.
Thanks!