-
7 Feb 2012 7:40 AM #1
[4.1.0 b2] Error in grid via xtype only in IE
[4.1.0 b2] Error in grid via xtype only in IE
In 4.1.0 b2 the following grid gives an error only with IE 8 and 9:
For the property "isComponent" can't be called a value: The object is null or undefined
In FF, Chrome and Safari there is no error.
Code:Ext.define('bap.view.GridD' , { extend:'Ext.grid.Panel', alias:'widget.gridD', columns:[ { header:'a' } ]Debugging shows the error in: Ext.ComponentManager - createCode:{ id: 'gridD', xtype: 'gridD' }
Is there a workaround for IE?Code:if (component.isComponent) {
-
7 Feb 2012 11:19 AM #2
There's not enough information, however it sounds like you've got an extra comma somewhere.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
7 Feb 2012 12:20 PM #3
After 1 hour search I have found one comma
. Sorry and thank you.
But IE is pretty dumb, don't give information where to look. It was not the grid it was a window which is created in afterrender of the grid. How is this to find with debugging!
-
7 Feb 2012 12:24 PM #4
Yeah, it certainly is a pain isn't it.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote