PDA

View Full Version : Summary and Grouping issues



necco
8 Apr 2011, 4:56 AM
I need to use both Summary and Grouping plugins but there is a problem when I want to group an ungrouped grid... the error is at line no. 180 of GroupSummary.js plugin:

"Uncaught TypeError: Cannot read property 'style' of undefined"

I need to click twice "Group by this field" menu to group the grid (at first click nothing happens and apperas above mentioned error... the second click groups the grid).

If the grid is already grouped there are no issues if I want to group by another field.

The same error appears when I'm clearing grouping and trying to group again.

My store is an Ext.data.GroupingStore, the reader is an Ext.data.ArrayReader, the view is Ext.grid.GroupingView and the grid is an Ext.grid.GridPanel