Hello Everyone,
I have a read only grid component with 20 rows of data and displays 5 rows for each page with id and product price.
How can we add a logic to display the sum of the data display on bottom of the page for read only grid for each page.
a!map(id:1,price:1234), a!map(id:2,price:1243, a!map(id:3,price:1234), a!map(id:4,price:1243), a!map(id:5,price:1234), a!map(id:6,price:1243), a!map(id:7,price:1234), a!map(id:8,price:1243), a!map(id:9,price:1234), a!map(id:10,price:1243)
In grid ,we need to display the values for sum of 1st page 1-5 values, 2nd page 6-10 values ,3rd page 11-15 values.
Thanks
Saidivya Minna,
Discussion posts and replies are publicly visible
The solution is probably to do some tricky post-processing on your local variable that holds your paged data set, inserting a fake row at the end for each page that contains the calculated value. I haven't tried this approach (at least not recently) so it may be more tricky and/or clunky than it's worth for you, but it's probably worth a try.