It appears that starting at version 3.18 of the JS API, the array generated using FeatureTable.dataStore.data comes back as a JSON object versus an array of attributes and the sample no longer works.
I can get at all the attributes using the following, then iterating over each record returned, but it returns all attributes, not just the ones visible in the table and it seems like a overly complicated way to accomplish what I'm trying to do.
Has anyone tried to do this in the newer versions of the API? Or know of an easier way to do this?
A similar question was asked about a year ago but there were no responses.
Thank you in advance.