PDA

View Full Version : Grid - feature request: aggregate row



mystix
28 Feb 2007, 10:35 PM
Hi jack,

one feature request, if it's reasonable:
perhaps an aggregate row (sum / average / custom aggregate function) for the Grid?

JeffHowden
1 Mar 2007, 12:01 AM
This is already doable with a custom renderer.

mystix
1 Mar 2007, 12:15 AM
thanks jeff. i'll go dig some more then.

JeffHowden
1 Mar 2007, 12:37 AM
One thing I thought of after I'd answered and that's that you probably aren't going to end up with auto-updating aggregate fields without quite a bit more work. But, it's not impossible. You'll just have to listen for cell updates (if editing is enabled) and force a recalc where appropriate.

rodiniz
1 Mar 2007, 3:27 AM
Hey ...take a look at this
http://www.rodrigodiniz.qsh.eu/Sumarize.aspx
There is sum and avg implemented...