PDA

View Full Version : multiple grid summary w/o grouping



mbahl
28 Nov 2007, 12:24 PM
I've searched forum and haven't found what I'm looking for nor do I know if its possible.

What I would like is to add multiple summary rows(total and percentage delta) at the bottom of a grid that is not grouped. I saw there is a way to provide custom summary function.

The most important thing i'm trying to do is have multiple summary rows if I need to use grouping np.

Thanks for any tips

mcouillard
27 Jun 2008, 12:32 PM
Same here! Does such a function yet exist? I want column totals in a footer-like section at the bottom of every grid page. No grouping. That's step 1, at least for me.

...step 2: DYNAMIC column totals that change based on edits to the data above. So if you change column ABC's 3rd row from 5 to 10, the total at the bottom of the column should get updated! (after it's validated and deemed success by the server, of course)

I've already got dynamic row calculations based on inline edits (columns to the left affect a "total" column on the far right), so that's cool. Now for the other direction!

mystix
28 Jun 2008, 9:54 PM
http://extjs.com/forum/showthread.php?p=111221#post111221

mcouillard
3 Jul 2008, 10:24 AM
http://extjs.com/forum/showthread.php?p=111221#post111221

Yup, Ext.ux.grid.GridSummary is a nice solution. Column totals in the footer - they even change based on edits within an EditorGrid.
http://extjs.com/forum/showthread.php?p=111221#post111221

mystix
3 Jul 2008, 11:40 AM
if you plow through the rest of the thread there's a post on using both Group/GridSummary plugins together.

happy plowing ;)