condition for Sum in footercallback
condition for Sum in footercallback
Sradesign
Posts: 25Questions: 4Answers: 1
Hi
How can I have conditional calculation in footercallback for example now we can calculate the Sum of a column which works perfectly. I want to know how we can do calculate the sum if the condition met? lets give you an example I have a colum which show the profits on each trade in footer I want to show total loss(sum of the negative numbers) and total win(sum of the positive numbers).
Best regards,
Ali.M
This discussion has been closed.
Replies
How to achieve this?
Ok I fixed it I made 2 other invisible column one keep the negative data and changed the positive data to 0 and the other one do the same for the positive data. then do the total sum for those column is not the best solution but it works for now.