Hybrid View

  1. #1
    Ext User
    Join Date
    Aug 2007
    Posts
    78
    Vote Rating
    0
    nromanel is on a distinguished road

      0  

    Exclamation [Solved] IE error in ext-all.js 'undefined is null or not an object

    [Solved] IE error in ext-all.js 'undefined is null or not an object


    I am rendering a grid in my project.

    On firefox, this code works fine.
    However in IE 7 I get the following error:

    'undefined' is null or not an object

    I believe the error is occuring on Line 239 in ext-all.js and the following section is highlighted:
    if(typeof _1[i].dataIndex=="undefined")

    I feel as if I'm not providing enough information for you guys to help me with my problem, let me know what else I should provide!!

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    You have an extra comma somewhere in one of your object literal definitions.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  3. #3
    Ext User
    Join Date
    Aug 2007
    Posts
    78
    Vote Rating
    0
    nromanel is on a distinguished road

      0  

    Default


    Found em!!! That did the trick!!

    Thanks!

  4. #4
    Ext User stevefink's Avatar
    Join Date
    Aug 2007
    Posts
    117
    Vote Rating
    0
    stevefink is on a distinguished road

      0  

    Default


    Hi I think I'm having a problem here as well. Is it possible that the extra comma is somewhere in a json object?

    Something like this perhaps breaking IE7?

    {"data":[{"color":"blue","miles":"110000","price":"6500","stock":"0","year":"2007","carfax":"","daysold":"0","photo_count":"5","model":"MDX","make":"Acura"},{"color":"Blue","miles":"11600","price":"4500","stock":"456789","year":"1979","carfax":"","daysold":"0","photo_count":"4","model":"Booyakasha","make":"Acura"},{"color":"Blue","miles":"11600","price":"4500","stock":"4567891","year":"1979","carfax":"","daysold":"0","photo_count":"1","model":"RDX","make":"Acura"}]}

    Thanks.

  5. #5
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,509
    Vote Rating
    374
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I doubt; I'd expect that Ext.decode would fail on invalid json.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  6. #6
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,509
    Vote Rating
    374
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    How did you solve it? Others may be interested too...
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM