PDA

View Full Version : [OPEN] [FIXED-217][3.x] GroupSummary error on grid reconfigure



qooleot
1 Sep 2009, 10:39 AM
I'm not sure if this is the appropriate place to put this, since its a ux, but it is in one of the official examples. I've fixed it to work for myself, but just wanted to post here in case others have this issue.

Ext version tested:

Ext 3 rev 5146


Adapter used:

jquery

css used:

only default ext-all.css

Browser versions tested against:

FF3


Operating System:

Ubuntu


Description/Fix:

Ext.ux.grid.GroupSummary has the columnmodel hard-coded the the initial column model. That is not good when someone does:


grid.reconfigure(store, cm)I just took the cm set in the init:


this.cm = grid.getColumnModel() out and put:


this.grid.getColumnModel()in the two spots that used it.

The only other alternative fix I could think of would be to remove the GroupSummary and rebind it (like one would do with the pagingBar on a grid reconfigure).

evant
1 Sep 2009, 6:40 PM
Fix applied to svn in rev #5273 for patch release 3.0.2.