I have the report that contains a table to show some payment information, and underneath there is textBox to show sum of PaymentAmount property values.
See attached sample report image to see. The report has jsonDataSource and it has collection property of "PaymentLinks" which has 4 items and each item of the collection has "PaymentAmount" integer value. The table is showing "PaymentAmount" property value.
I have to calculate sum of "PaymentAmount" column and set the result in TextBox next to "TotalPaymentAmount:". How should I do that?
FYI: If you right click on the table last row, you can see "Add Total" on the context menu. Maybe we can use this to sum of the column values?
The jsonDataSource contains this inline JSON:
{
"TotalLinksAmount": 10,
"PaymentLinks": [
{
"PaymentAmount": 10
},
{
"PaymentAmount": 100
},
{
"PaymentAmount": 25
},
{
"PaymentAmount": 30
}
]
}