Results 1 to 2 of 2

Thread: Ext.all.js error on Grid header mouse over

  1. #1
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating

    Default Ext.all.js error on Grid header mouse over

    I got this error on a grid. If you mouse over the first column you get these errors:

    TypeError: Result of expression 'this.config[col]' [undefined] is not an object.
     at app:/extjs/ext-all-debug.js : 66514
     at app:/extjs/ext-all-debug.js : 65707
    h at app:/extjs/ext-all-debug.js : 2646
    undefined at undefined : undefined
    Line 66514 deals with if the menu is disabled or not.

    So when the grid executes the handleHdOver() function the error is what fly.getRegion() returns. For column index zero it returns false instead.

    I fixed this by adding this line but not sure if there is a better way:

    this.activeHdIndex = Number(this.activeHdIndex);
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  2. #2
    Sencha User makana's Avatar
    Join Date
    Apr 2008
    Dresden, Germany
    Vote Rating


    That's not an AIR specific issue. That's a problem which exists already for a long time. Just give your first column an id and that's it.
    Programming today is a race between software engineers striving to build bigger and better ?diot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)

    Enhanced ExtJS adapter for Adobe AIR

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts