jQWidgets Forums

jQuery UI Widgets Forums Grid Loading grid in IE8 and IE 9

This topic contains 3 replies, has 2 voices, and was last updated by  Shankar 10 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Loading grid in IE8 and IE 9 #54348

    Shankar
    Participant

    Hi

    I am using jqwidgets version 3.2.2

    I am trying to load jqxGrid which is editable, pageable, sortable, filterable in virtual mode in IE8 and IE9 and getting the following error:

    SCRIPT5009: ‘JSON’ is undefined
    jqxgrid.js, line 7 character 216408

    I am using JSON.parse and JSON.stringify methods in my custom js file too. Is that an issue? if yes do we have alternative for the same for IE browsers ?

    But I am able to load the grid successfully in Chrome 34 and FF 24.1.

    Can anyone please let me know what might be the problem and how to fix the issue ?

    Thanks
    Shankar

    Loading grid in IE8 and IE 9 #54352

    Peter Stoev
    Keymaster

    Hi Shankar,

    The provided information is not sufficiant for reproducing an issue with any of these browsers. If you want someone to test your scenario, then please provide a small, but full sample which we or someone else can run locally as it is pointed out in this Forum’s Policy.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Loading grid in IE8 and IE 9 #54363

    Shankar
    Participant

    Hi Peter,

    Sorry I may not be clear in my previous post and please ignore the piece of error code.
    I am mainly interested about the use of JSON.stringify and JSON.prase methods which is stopping me from loading the grid/ do some operations after loading the grid.

    I have bits of code in my custom js which uses JSON.stringify and JSON.prase methods. For example while sending data to server for saving , data has been retrieved from the grid rows and before passing the data to the ajax call I am converting it into a Json string using

    var objectDataString = JSON.stringify(data);

    So in IE 9 when these calls are encountered ( JSON.stringify and JSON.prase ) the execution is not going further and is stopped at that point, whereas in Chrome and FF 24.1 it is executing successfully.

    can you let me know if you have better solution to stringify / parse data ( work around for the above two methods ) or to make the above methods work for IE ?

    Thanks
    Shankar

    Loading grid in IE8 and IE 9 #54367

    Shankar
    Participant

    ok. I got the issue. I haven’t included <!doctype html> in my html file and it was opening IE in quirks mode which is causing the problem.

    Thanks
    Shankar

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.