As a listview does not have a multi select option you could set the listview to editable and add a select boolean as dropdown. This way you mark the records you want to use and can then perform an action on the marked records.
Be aware that this simple solution will not work when multiple users are selcting records from the list.
In that case you'll need a function to relate the selected objects to the user or session so that you can retrieve the records with your action based on the user.
In both cases the first action should be to reset the selection boolean after retrieving the list of records.
Not quite sure why a listview must be used, as the template grid seems to be a better choice in your case though.
I think you could find a app in the app store for that problem:
https://appstore.home.mendix.com/link/app/105694/
Maybe this app could be something for you.
Hey there! i encountered the same problem and i managed to create a workaround/hack for this to work. I added a test project to my github where multiselecting on the filtered set of records works. You can have a look at it if you want: https://github.com/reemster123/mendixListviewSelectAll.git
Short story of what i did:
- Created a Javascript action which is triggered by a button. This JsAction finds all the filters and their input values and returns those as a list of objects in a nanoflow. With this list of objects i managed to create a generic xpath to retrieve all records for the entered filtervalues.
Hope it helps!