jQWidgets Forums

jQuery UI Widgets Forums TreeGrid TreeGrid data not getting refreshed in IE

This topic contains 3 replies, has 2 voices, and was last updated by  newuser 8 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • TreeGrid data not getting refreshed in IE #89738

    newuser
    Participant

    I am making a API call to delete row of a TreeGrid which I have used in my Web Page. I am making other changes in the data of TreeGrid by making API calls to backend.
    In IE the refreshed Treegrid is not displayed whereas in other browsers I can see the refreshed TreeGrid.

    When I go to IE browser’s settings, delete temporary files, the refreshed treegrid gets displayed in browser. How can I avoid manually deleting the temporaary files in browser to get a refreshed TreegRid from backend in IE.

    Any Suggestions..

    TreeGrid data not getting refreshed in IE #89749

    Peter Stoev
    Keymaster

    Hi newuser,

    The problem is not in the TreeGrid, it is that your browser caches things and especially your AJAX data requests. To avoid caching of data requests, in the source object you can add: cache: false. By default it is true in jQuery for any AJAX calls.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    TreeGrid data not getting refreshed in IE #89760

    newuser
    Participant

    Hi,

    Thanks for your suggestion. Here I am not using jquery ajax call. I am using angularJS. How can I prevent IE from caching the web page in angularjs API call.

    TreeGrid data not getting refreshed in IE #89766

    newuser
    Participant

    Thanks. I think I will have to use cache : false in get method in angularjs.

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

You must be logged in to reply to this topic.