59
Views
4
Solved
###### [Silk UI Web] Editable Table Calculations
Question
Forge component by OutSystems R&D
106
Published on 09 Mar 2020
Application Type

Hi there,

Sorry if this is a repetitive question, but I didn't found the answer about it.

I'm creating a Editable Table as show bellow

As you can see, the last column show be the product of quantity and unit price, and I also need to get the sum of all items total (Grand Total).

How can I do this 2 calculations? Also, the Grand Total is an expression?

Best regards and happy new year for all!

Rank: #13068
Solution

Regards,

Arun

EditableTableCalculation.oml

Rank: #395
Solution

If I am not wrong then you are multiplying  unit into quantity and show in total.

The attributes you had binded  to the expressions u can use that in total .

and regarding the grand total use can use a variable (grand total) and on save of the editable table  u can iterate the list and add the total  values.

Regards,

Amreen

Rank: #2252

Hi @Amreen

Sorry for asking you this, but can you share a simple .oml where I can see how you do that?

Regards

João Ferreira

Rank: #13068
Solution