PDA

View Full Version : [CLOSED] Scope in gridcolumns summaryRenderer not consistent



_alex
17 Jan 2014, 9:31 AM
When in apply a summaryRenderer to a 'numbercolumn' scope within the summaryRenderer function is the column, when i do the same in a 'gridcolumn' scope is the gridpanel.

ExtJS 4.2.1

Gary Schlosberg
17 Jan 2014, 4:31 PM
Thanks for the report. Sounds like a bug. Can you post a test case which reproduces the issue?https://fiddle.sencha.com/#home

evant
17 Jan 2014, 6:19 PM
IMO all column renderers scope should default to the column. It's a hold over from... quite a while back, before we even had column objects. Perhaps a change we can make it 5.x.

_alex
19 Jan 2014, 6:37 AM
https://fiddle.sencha.com/#fiddle/2pi

Imho a gridcolumn also should have a reference to the grid itself, or at least the view it belongs to.

Gary Schlosberg
19 Jan 2014, 6:53 AM
Thanks for the report! I have opened a bug in our bug tracker.