12-21-2022 02:55 AM
Hi,
I have an default value for field $sum=390 and 10 input records(count may increase/decrease).
Requirement :Each row should get $sum=$sum+10. if 1st row having sum=400, 2nd sum=410…
Please suggest.
Solved! Go to Solution.
12-21-2022 03:11 AM
12-21-2022 06:39 AM
@pmancevski $group.map((value, index) => value.extend({‘sum’ : parseInt(value.sum) + ((index + 1) * 10)})) - This expression solved my query.
Thank you!