Author Topic: LoadState from database not working in IE but works in chrome  (Read 1818 times)

rgorantla

  • Pro Deluxe
  • Jr. Member
  • *
  • Posts: 88
    • View Profile
LoadState from database not working in IE but works in chrome
« on: September 29, 2017, 02:23:37 am »
Please tell me what is wrong - it works fine in chrome but not in IE.

In Create : I have loadStateSuccess = loadState(this); and the function that loads data from db is below:

function loadState(grid) {
        $.ajax({
            url:url
            data: params,
            type: 'GET',
            dataType: 'json',
            success: function (json) {
                if (json.data != null)
                {
                    var colModel = json.data;
                    grid.loadState({ state: colModel });
                }
            },
            error: function (xhr, status) {
            },
            complete: function (xhr, status) {
            }
        });
    }

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: LoadState from database not working in IE but works in chrome
« Reply #1 on: September 29, 2017, 05:18:04 pm »
It looks fine. You need to debug your source code and look out for errors if any.