PDA

View Full Version : Ext JS Grid panel with grouping and summary



anuruddha84
4 Jan 2012, 1:57 AM
I'm using a grid-panel which utilizing grouping and summary. I have a requirement that grid-panel needs to be behave in following 2 ways:


(1) Grouping summary for each group
(2) Total summary at the bottom of the grid

What I really want to implement is some thing like below link. It was implemented using Ext.Net. I want the same implement in Ext Js 3 ver.
http://examples.ext.net/#/GridPanel/Miscellaneous/Grouping_TotalRow/


Any solutions?

Thank you.

mitchellsimoens
4 Jan 2012, 6:47 AM
Shipped with Ext JS 3, there is the Ext.ux.grid.GroupSummary. The file for this extension is in the examples/ux/GroupSummary.js file. YOu can see it in action in the example examples/grid/totals.html

anuruddha84
4 Jan 2012, 5:06 PM
Hi Mitchell,

Thank you very much for your reply. Currently I'm using the GroupSummary.js. But my requirement is I need to show group summary and total summary(both). Like following image.
30461
But what I can achieve using GroupSummary.js is following.
30462
Thank you.