Hi, I have searched high and low and there simply isn't a way to determine if a feature have been selected on a layer in ArcGIS Javascript 3.xyz. (in PRO SDK, its literally a one-liner)
My use-case requires me to determine the features that are selected in the attribute-table widget and the only way I can achieve that is by digging in the layer and search for _graphicalVal. I am sure there must be a proper way to do this, perhaps through a proper API? Would anyone be able to advise?
I could not find anything in the layers api, layersInfo/Struct/Node etc api
