Skip to main content
tracyl
Known Participant
May 23, 2023 1:03 PM UTC
Solved

Selecting ALL rows in a grid

Hi, I currently have a a!gridField() that is being used to add a list of samples. We have made the grid list selectable so that all rows can be selected, however there is a current request to have all rows in the grid selected without having to page to the next set of samples in the list when selecting the checkbox to select all rows. I wanted to see if this is even possible to configure in Appian? 

mikes0011
mikes0011Answer
Brainy
May 23, 2023 4:55 PM UTC
have all grid checkboxes pre-selected

Whatever local variable you have as the target of SelectionSaveInto, you would simply configure it in the first place to contain all identifiers found in the entire grid's data set (i wouldn't recommend this if your data set would be even a little bit large for starters, but if it's only medium or small, it's pretty simple - would require a separate pre-query).

The Expression Guru

7 replies

stefanhelzle0001
Brainy
May 23, 2023 1:12 PM UTC

You can add a button on the UI which just adds all the identifiers to the selection value.

tracyl
tracylAuthor
Known Participant
May 23, 2023 1:46 PM UTC

Can you give an example of how that would be implemented? 

stefanhelzle0001
Brainy
May 23, 2023 2:00 PM UTC

Based on the example here: https://docs.appian.com/suite/help/23.1/recipe-limit-rows-to-one.html

You add a button that stores all employee IDs into local!selection.