1. #1
    Sencha User
    Join Date
    Nov 2007
    Posts
    294
    Vote Rating
    0
    Sesshomurai is on a distinguished road

      0  

    Default [3.0RC1] this.applyGroupField is not a function

    [3.0RC1] this.applyGroupField is not a function


    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

    Code:
    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?

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

  2. #2
    Sencha User
    Join Date
    Nov 2007
    Posts
    294
    Vote Rating
    0
    Sesshomurai is on a distinguished road

      0  

    Default


    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.