How to implement a select-all button for a listview while using listview control filters. Such that the select-all button selects only the filtered rows.

0
How to implement a select-all button for a listview while using listview control filters. Such that the select-all button selects only the filtered rows. I have used a listview to display records. And client needs filter and select-all that should ONLY select the lines that show once the filter is applied. Listview controls does not help as it filters only on client. When I click the select-all btn, the server wont know what the filtered records on screen are. Is there a way out or do i need to switch to template grid?  PS: an ideal approach could have been if those listview control filter widgets were made configurable to take in a boolean attribute name of the record, which it could toggle whenever the filter selected that record. 
asked
1 answers
0

I agree it would be an great addition to have a select all functionality on the listview (controls). 

In my developend I use the listview for an input reference set selector with a small dataset . With larger datasets I use the datagrid. The datagrid comes with a select all button (current page or all pages) and filters to search through your dataset. It gives you the functionality what you ask for. Unfortunately is the datagrid less UX compared to the listview .

answered