0
votes

I have the grid like below. Can anybody tell me how to sum all the grid columns and display them in the grid row

e.g

      Month   Achieve Target 

      Jan     3000     4000
      Feb     2000     5000

   **Total    5000     9000**   need to add total row in grid

Thanks

2

2 Answers

5
votes

Post some of your code if you need more assistance.

0
votes

you can programatically calculate de sum, max, min, avg of a store column like this:

store.sum('yourColumn');