Sum a calculated column

Appreciate any guidance on summing a column that is a calculated value.

Trying to Sum 'Gross'

Here is how 'Gross' is calculated, so I need to sum up the total var which I'm not sure how to access or do I need a different idea?

You can use Sum() method over the collection assigned to Data or View of the DataGrid. Check this demo for reference:

1 Like