Skip to main content
ivang2200
July 26, 2024
Question

Select all elements of a grid with a record as data source with user filters.

  • July 26, 2024
  • 4 replies
  • 0 views

Good morning.


We have a use case with a grid that has as data source a record and we need to select all the elements of the grid.
The grid allows us to select all the elements at once, but only those on the first page.
We also use user filters so that the data in the grid can be filtered by those user filters.

We have created a button to select all the items in the grid at once using a query, but we cannot filter that query with the user filters in the record.

Is there another solution to be able to select all the elements of a grid using a registry with user filters?
Is there any way to access the internal query that appian makes when using those user filters to be able to use them in the query?

Thank you very much.

4 replies

konduruc733182
July 26, 2024

Hello [mention:ab54c899173d4324a25a4f2172c20448:e9ed411860ed4f2ba0265705b8793d05] 

You will have to get rid of the user filters and make use of a custom dropdown that filters your record data in a local variable which will be used as your grids data. Based on the filtered data you can have an option somewhere around the grid to copy on a button click or checkbox or any other component.

ivang2200
ivang2200Author
July 26, 2024

We have already considered this option, but we don't want to stop using user filters. Surely the performance of manually built filters have worse performance but if there are no other options in the end we will do it this way.
Thanks for the feedback.

stefanhelzle0001
Brainy
July 26, 2024

This should not have any impact on performance. And it is the only way to implement such a requirement.