Posted 12 July 2021, 3:02 am EST
Consider we have class A as below.
Class A {
int x;
int y
}
In the grapecity template, I want the sum of x and y fields.
I tried the following syntax after adding data source
{{=ds.x+ds.y}}
{{==ds.x+ds.y}}
{{=={{ds.x}}+{{ds.y}}}}
But none of them seems to be working.
Pls let whether it is possible to do arithmetic operations for fields of pojo or not.
If arithmetic operations is possible, pls let me know the syntax.