Hi Syncfusion team,
We have the attached sfDatagrid which successfully shows a ledger statement for financial transactions. We have a column for debit, credit and balance after each individual transaction.
The first summary row shows the totals of 'Debit' and 'Credit' columns.
In the second summary record we should display the final Balance which equals the Sum(Debit) - Sum(Credit) and a word like 'Db' if total debit is greater than the total credit, or 'Cr' if vice versa.
In the attached screen shot, the second summary row should show:
Balance : 4,981.000 Db
How can we accomplish that?
Thanks and best regards,
Amr Ammar
Attachment:
Ledger_statement_ca4b7a5d.rar