Need Help with Mass Updating Selected Rows in Datagrid

0
Hello Everyone, We are trying to mass update selected rows in a DataGrid based on user inputs in our application. The DataGrid has multi-select enabled. I've created a non-persistent helper object to store the values to be updated for the selected rows. Additionally, I tried creating a helper object for the entity to store the selected rows and attempted to push them into the object. However, it's fetching all the records from the DataGrid, not just the selected ones. Currently, I can store all user inputs into the helper object and loop over multiple rows to update them with the same values using the helper object as a parameter. I need assistance in fetching only the selected rows to iterate over to update their values collectively.
asked
2 answers
0

Hello Divya,

Create one DataGrid with selection mode multi select. Add one update button and on click Microflow event, it will pass list of selected object list and then you can play with selected object list.Is this your requirement, please explain more if not.

image.png

 

 

image.png

answered
0

Divya,

If you are using a microflow button on the grid, you should be able to select either all rows of the grid, like this:

image.png

 

Or the selection the user made, like this:

image.png

 

If your microflow has a parameter which is a list of the objects in the datagrid, both of these options should be available to you.

 

Hope that helps,

Mike

answered