UI PATH APPS - How to modify or Update Grid View?

Hi Community,

I have created an app in UI Path Apps Cloud and need some assistance. Here’s what I am trying to achieve:

  1. I’m getting a DataTable as an output variable from my UI Path arguments. This DataTable contains the following data:
id name age Status
1 Alice 30 Pending
2 Bob 25 Pending
3 Charlie 35 Pending
4 Diana 40 Pending
5 Eve 29 Pending
  1. I want to display this data in a Grid view within a UI Path Apps control.
  2. In the “Status” column, I want to add a dropdown list with the options: Pending and Completed.
  3. When I update a row’s status using the dropdown, I want the change to reflect immediately in the app preview.

However, as shown in the attached image, I’m unable to update the dropdown list. Could you please suggest any Expression Editor rules or other methods to make this work?

@sayali.p

create a column with dropdown values you need

now set a even rule for row modified

Now set the rue as below

The image shows a "Set Value" action in Power Automate, where the variable "table" is set to the result of the "UpdateRowAt" function, using parameters from "MainPage.EditGrid". (Captioned by AI)

table is the pp variable i created you can use your own variables

expression
left side only table or the variable you have

right side - table.UpdateRowAt(MainPage.EditGrid.RowIndex,MainPage.EditGrid.SelectedItem)

Result

initila vale at bottom as 1 changing to B

changed value

once blue tick is clicked the changes would reflect

Hope this is clear

cheers

Thanks a lot…It’s working

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.