Grid - feature request: aggregate row - Ext JS

Hi jack,

one feature request, if it's reasonable:
perhaps an aggregate row (sum / average / custom aggregate function) for the Grid?
  # 2  
03-01-2007, 02:01 AM

This is already doable with a custom renderer.
  # 3  
03-01-2007, 02:15 AM

thanks jeff. i'll go dig some more then.
  # 4  
03-01-2007, 02: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.
  # 5  
03-01-2007, 05:27 AM

Hey ...take a look at this
http://www.rodrigodiniz.qsh.eu/Sumarize.aspx
There is sum and avg implemented...
__________________
ExtJsExtender Controls
http://www.extendersamples.qsh.eu
My Blog
http://rodiniz.blogspot.com

你可能感兴趣的:(Blog,ext,UP,Go)