Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    95
    Vote Rating
    2
    TiloS is on a distinguished road

      0  

    Default [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'
            }
        ]
    Code:
    {
        id: 'gridD',
        xtype: 'gridD'
    }
    Debugging shows the error in: Ext.ComponentManager - create
    Code:
    if (component.isComponent) {
    Is there a workaround for IE?

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,167
    Vote Rating
    674
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    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!

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Posts
    95
    Vote Rating
    2
    TiloS is on a distinguished road

      0  

    Default


    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!

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,167
    Vote Rating
    674
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Yeah, it certainly is a pain isn't it.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1