jQWidgets Forums

jQuery UI Widgets Forums Grid Unresposive script error | JQXGrid getting hanged on reload

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 9 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • neha
    Participant

    Hi JQWidgets Team,

    I want to share an observation and also need the way out in such cases.

    Issue :

    I have THREE JQXGrids on a page with conditional loading of data from DB.
    First time loads are working fine in all grids, but when i reload any of the grid (after getting new JSON from ajax response)
    the whole page gets hanged and after few seconds browser ‘Unresponsive script’ is shown, and then i have to kill the page.

    Surprisingly, all grids works smoothly (after ajax reload) if I remove the ‘Id’ property (of SOURCE) OR my datafield json has the same name ‘Id’ column.
    When I set ‘Id’ to some Primary key column of my DB table (e.g EmployeeID) the issue remains as described above.

    Is there any necessary condition that column name must be ‘Id’ only?

    I have different xml http objects for all three grids ajax reload.

    Please let us know where we are missing the track.

    Thanks.


    Peter Stoev
    Keymaster

    Hi neha,

    Setting more properties requires more calculations. XML is slower than JSON or other types so extracting ID from some XML may take more time. I don’t know your data and I don’t know your initialization. In general I don’t know how you use our Grid, because there is no much information in your post. If it works for you to remove the id from the source object, then use that approach.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.