Select to view content in your preferred language

Add Button to Select/Deselect All Values in Filter Widget List

988
3
01-21-2025 09:42 AM
Status: Open
Labels (1)
DavidWittmann
Regular Contributor

When configuring a Filter widget with the "is any of" operator you get a list of the unique values that are available for that field.

DavidWittmann_0-1737480916263.png

Currently, the buttons at the bottom of this dropdown menu are for 'Show all', 'Show selection', and 'Clear selection'. I propose either adding a Select/Deselect All button to these existing buttons or adding an 'All' checkbox at the top in a similar fashion as the button for the Search widget when you configure it with multiple search sources.

DavidWittmann_1-1737481167127.png

Adding this functionality will be essential for making it easier to quickly select all available values that are in that list of options. 

 

3 Comments
wtfineberg

Great suggestion! We have a strong need for this functionality as well. It would seem intuitive that a "Select all" option would be provided alongside the existing "Clear selection" button.

 

 

MichaelRobb

here here!   Yes, this is really needed!

NicoleJohnson

This would be a HUGE improvement for me as I build out a fairly large data exploration experience for the public.

Basically, I offer a table widget for each dataset, and the way the data is often structured means there's some sort of summary value within the data, like so:

Geographic AreaYearIndustry Sector (2-Digit NAICS)Number
County12026All Industries500
County1202611: Agriculture, Forestry, Fishing and Hunting10
County1202621: Mining, Quarrying, and Oil and Gas Extraction10
County1202622: Utilities10
...and so on...and so on...and so on (for 22 more categories!)...and so on

 

With the number of records that are in some of these datasets, it makes sense to use filters to not immediately display ALL the data that's in the table, like so: 

Geographic AreaYearIndustry Sector (2-Digit NAICS)Number
County12026All Industries500
County22026All Industries400

 

This is achievable with an "is any of" filter with the "all industries" value selected. This also means the filter shows "1 Selected," providing a hint to the user that there are more values available if they check the drop-down list.

The problem with this is that if the user does want to see all the values in the table (e.g., to download all the data), there is currently no "select all" action available in the filter widget. This means the user would have to select, one by one, all 22 additional values. Since I'm not interested in giving anyone a repetitive strain injury, I just select all the values myself (so the filter reads "26 Selected"). This way, the user can clear the selection if they want to (or use the reset button to get back to all values being selected), but it's really not ideal.

For the sake of clean data presentation and the health of my right hand, Esri, please implement this!