ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: rgorantla on September 29, 2017, 02:23:37 am

Title: LoadState from database not working in IE but works in chrome
Post by: rgorantla 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) {
            }
        });
    }
Title: Re: LoadState from database not working in IE but works in chrome
Post by: paramvir 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.