0

I have a grid with infinite scrolling.Is it possible to add a summary row to the grid with fixed position i.e bottom of the grid. Whenever the grid is scrolled to the threshold the store loads with new page data,at the same time summary data should also be refreshed. Any ideas or suggestions?

ExtJs version : 4.1

Dev
  • 3,922
  • 3
  • 24
  • 44
  • have you try [bbar](http://docs.sencha.com/extjs/4.1.1/#!/api/Ext.panel.Panel-cfg-bbar) ? – aviram83 May 10 '15 at 11:08
  • yes,tried bbar already.Actually it wont help as I want to display total for all the columns and columns can be added/removed.So is it possible to design a bbar in a way that it looks like a summary row or else is it possible to move summary row so that it is always visible. – Dev May 11 '15 at 05:31
  • can you create a fiddle? – aviram83 May 14 '15 at 05:18

1 Answers1

1

Take a look at this: https://stackoverflow.com/a/16549178/2085604

You can use the dock config to fix your row:

features: [{
        ftype: 'summary',
        dock: 'bottom'
}],

I don't know if this would work with infinite scroll. You can try.

API and example here: http://docs.sencha.com/extjs/4.2.0/#!/api/Ext.grid.feature.Summary

Community
  • 1
  • 1
xaume
  • 135
  • 7