I have a SumFuncion in my gridview. This summing all the column values.
I need that when the total sum is negative it appears on screen 0.
Can you help me?
Thanks, Alexandre Rodrigues
1 Answer, 1 is accepted
0
Maya
Telerik team
answered on 27 Sep 2010, 07:25 AM
Hi Alexandre,
A possible approach would be to create your own custom SumFunction that will return "0" when the result is negative. You can find an example about the way of doing this in our demos.
Kind regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items