PDA

View Full Version : [3.0RC1] this.applyGroupField is not a function



Sesshomurai
19 Apr 2009, 12:38 PM
Hi,
Getting an odd exception when trying to open a panel with grid in my Ext2 app running on Ext3 (see below).

Here is the ext3RC1 code from ext-all-debug.js



Ext.data.GroupingStore = Ext.extend(Ext.data.Store, {

//inherit docs
constructor: function(config){
Ext.data.GroupingStore.superclass.constructor.call(this, config);
this.applyGroupField();
},


The function exists in the class. What could be causing this exception?



Error: this.applyGroupField is not a function
Source File: http://localhost/ontregrid/ext3/ext-all-debug.js
Line: 14443


Thanks for any tips.

Sesshomurai
20 Apr 2009, 11:35 AM
Ok, figured this out. Its not a bug. I was inadvertently calling a super constructor from a GroupStore class from a class not extended from it. Error didn't occur in 2.2.1.