Hi Lahiru!
There are three options that I can think of in the Flow Classic client, just one of them is dynamic though:
- Computed Data grid column
- Add Unique row for totals
- Separate Data grid for totals
The first option is restricted to the scope of one Data grid, but it will dynamically update as you adjust values in the Data grid without reloading the step. But this will add a column, not a row. Read more about Computed Columns here: Data grid | Flow Help
Option two is to add a unique row for totals of the Data grid. This option will require reloading the step and can be achieved by using Flow script; summaries your column values and then add a row at the bottom of the datasource table. Like this:
Option three will be able to handle data more freely but requires you to reload the step. But then you will be able to show totals from multiple sources and rows, something like this:
Thank you for your support. I’m currently using options 2 and 3. But the user request is to use it without an additional click to refresh. That is what bothering me without a solution. Something like below attached
Hi, there were two threads so Ill answer here instead since Alluse made some good comments above.
Flow does not really do anything until you either exit the user step or refresh the page you are at. As Allluse menutions, having a button with a -sign or something where you go out of the step, and then right back in will reload your page and add the totals in a separate field.
A way around two clicks (one to create a new row and then press ) would be to use text and number inputs (which could add to a grid for display),
Part: xx
Cost: xx
Press (will exit the user step and go right back in to itself, fetching the created row and perhaps displaying it in a grid or list).
That way it will give the feel for that the user are adding lines, but it acutally exits the step and goes right back in.