In this sample, I've have hidden all the fields except the first column i.e. "Recreation area name". I would like to get the visible column names dynamically in JavaScript, in this case I should get the "Recreation area name" column. Which property of FeatureTable can I look for?
Esri Technical Support
Ranga,
Use featureTable.columns this collection of FieldColumn gives you the name, alias, and hidden properties of columns.
This class is still in beta so, the available properties are not set in stone yet and the doc is not quite there yet.
Hi Robert Scheitlin, GISP,
Thanks for your response, after some investigation I found the hidden property of FieldColumn. However, observed that hidden property was not exposed for FieldColumn.
The documentation on the FieldColumn class needs to be updated to show all the available properties. Currently, it doesn't include "hidden" even though it is available.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.