Hi!
I want to get access to the graphics of a feature layer, without quering the layer(essentialy like a feature table).
Is there such a thing?
Take a look at the FeatureLayerView and client-side queries samples in the doc.
https://developers.arcgis.com/javascript/latest/sample-code/featurelayerview-query-geometry/
This will let you get the features that are currently in view. Be sure to note the limitations.
Thank you Rene,
There is one limitation that is a bit problematic, when excuting a query against a FeatureLayerView I get only the features that are rendered on the current extent of the map:
"The results of the same query could be different when executed at different scales. This also means that geometries returned from any layerView query will likewise be at the same scale resolution of the view".
I want to access the FeatureLayer data to present it(like a FeatureTable, but in a different ui), is it possible?