6 Apr 2010 7:56 AM #1
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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
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
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. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
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.
6 Apr 2010 9:24 AM #2
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