Skip to main content
tracyl
May 23, 2023
Solved

Selecting ALL rows in a grid

  • May 23, 2023
  • 7 replies
  • 3 views

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? 

Best answer by mikes0011
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).

7 replies

stefanhelzle0001
Brainy
May 23, 2023

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

tracyl
tracylAuthor
May 23, 2023

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

stefanhelzle0001
Brainy
May 23, 2023

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.