title: How to add total row in grid footer in extjs
body: <p>I want to add total row in grid footer. I have total row that record is available in store. In grid the user selects descending order, total row appears as the first row. Can anybody tell me how to avoid this?</p>
  
  <p>I will explain my full problem:</p>
  
  <p>eg I have grid view like Target Target1 Target2 are getting from  webservice </p>
  
  <pre><code> Month Target  Target1  Target2   Target(2-1)  Target%
    jan    500     1000    1001        1           0.99
    feb    600     2000    2001        1           0.99
  
    **total  1100     3000    3002        2          2*3002/100** need to calculate total% like this   
  </code></pre>
  
  <p>I am calculating the value Target(2-1)  Target% total value in store and bind the store in grid. So only the total column also changes. In grid the user selects descending order, total row also changes. Can anybody tell me how to avoid this?</p>
  
  <p>Thanks</p>