Select to view content in your preferred language

Editable FeatureTable does not update field changes correctly

424
1
05-03-2021 08:41 AM
ufshall
Emerging Contributor

I have a FeatureTable widget with editing enabled where the client is able to update and maintain contact information for various entities. The client mentioned he was having data disappear and also show up in different rows. 

After some testing, I noticed that if a field is updated and if a field is selected when Refresh data is clicked, the attributes are given to a different object.

I entered "Sam Wilson" and "1234 N. Main St." into fields in a row. I kept the address field selected.

Screenshot 2021-05-03 102828.png

I then click "Refresh data". The information I added is not in the row I originally intended.

Screenshot 2021-05-03 103037.png

But is with a completely different object and I have lost the name.

Screenshot 2021-05-03 103204.png

If I update the fields in the row and make sure nothing is selected when I click Refresh data, the changes will take hold.

Any idea what could be causing this?

0 Kudos
1 Reply
HeatherGonzago
Esri Contributor

Hi, I'm not able to reproduce this using our basic sample on https://developers.arcgis.com/javascript/latest/sample-code/widgets-featuretable-editing/live/ There may be something specific with your data? Not sure. Have you tried with other data as well?

0 Kudos