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
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    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:

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

    Code:
    this.activeHdIndex = Number(this.activeHdIndex);
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  2. #2
    Sencha User makana's Avatar
    Join Date
    Apr 2008
    Location
    Dresden, Germany
    Posts
    527
    Vote Rating
    21
      0  

    Default

    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
  •