When I use a search query, it only loads the first 20 results initially into the feature menu. It then loads the next 20 as I scroll, ect.. So when I go to print the results I only get those results, but I need all results. I understand this is by design with good reason, but does anyone have an idea on how to get around this?
See codepen below for an example.
https://codepen.io/mbdriscoll/pen/GReBgYd
Solved! Go to Solution.
Hi @MatthewDriscoll -
You can try to set the featuresPerPage property on the PopupViewModel: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup-PopupViewModel.html...
By default this is 20, but you could try overriding it to the featureCount value when the popup opens: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup-PopupViewModel.html...
Hi @MatthewDriscoll -
You can try to set the featuresPerPage property on the PopupViewModel: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup-PopupViewModel.html...
By default this is 20, but you could try overriding it to the featureCount value when the popup opens: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup-PopupViewModel.html...