I'm trying to query the feature layer/table so that the number of rows in the table decreases showing only the ones that meet the query requirement. I able to do it on the feature layer referenced by the table so the map shows the desired result but the feature table stays the same. This was done using the feature layer queryFeatures method.
Looking at older posts using the 3.x api there was a method showSelectedRecords() which seemed to allow the user to select records and then only show those selected. There was also the filterSelectedRecords() method which was part of the feature table class which seems like it would also work.
In 4.x I cannot find similar methods. (currently looking at 4.21)
Am I missing something and there is a method that would help similar to the ones mentioned or is there different way to go about hiding the rows in the feature table? Or is this feature not yet implemented into the 4.x versions?
Using ArcMap or ArcGIS Pro won't work for what I need to happen.
Yes, the filter needs to be able to change.
So at the start all the information is displayed on map and in the table. Then I need to be able to hide the parts on the map and table that don't meet the requirement whatever it may be. I have this working on the map/feature layer but the table always shows all the info.
Is there a possibility of adding the web map to a web app builder and utilizing the query widget? This would give you an opportunity to choose the results and also for your user to export them.
I am not familiar with API but maybe there is a way to add a query widget? This would give the users an option to set the queries on the fly through the interface.