Choice component only updating first row cell in the table

When I select other row cell in the table and select one of the choices it updates only the cell in the first row. What is missing from my setup?

Screenshot 2023-08-18 at 21.19.56

Please check your navigation flow and make sure you’re navigating/filtering to the right row. It’s most likely your screen is built on top of your first row.

1 Like

Screenshot 2023-08-21 at 13.08.41

Screenshot 2023-08-21 at 13.12.55

I have included additional information and how I have configured. Would you be able to explain what you mean?

Thanks in advance.

Can you record a video of how you navigate to the screen where you’re showing the choice component? Or is it a top-level screen?

I am not able to upload a video. Hopefully this image should be helpful?

The way a choice component works is that it always updates a single value in a single row. So what you are seeing is correct and expected behaviour.

I’m assuming that the behaviour you’re looking for is that you select a row in the Grid, and then use the choice component to change it? That won’t work.

Probably what you need to do is use a different style of Collection - either a List or Table style. Then you can assign actions to individual list items. You could still use the Choice component to choose a Status, and then use a List Item Set Column values action to apply the selected status to any row. The only thing is if you do it that way, then you’d need to use a separate table - probably a single row Helper Table - as the source of the screen. Otherwise you’d be constantly overwriting the value in the first row.

If that’s what you want and you’re not sure how to set it up, let me know and I can provide some more detailed instructions.

1 Like

Thanks for this information. Could you please provide detailed instructions on how to set it up.

Here is an example:

1 Like

Fantastic! That worked for me. I had to change the format to a ‘list’ from ‘data grid’, I guess there are some limits but I am okay with the format as it is simplified the process of selecting the outcome. Thanks for your support.

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