Hi, I want to run loader on when i was click current item the issue was I faced not loaded current item data in presentation always bind previous item data not current item data in presentation in paramquery grid in asp.net mvc application. Here is my ajax call,
function tree_grid(ID) {
$("#divLoading").show();
$.ajax({
type: "POST",
url: '/Schedule/GetAllPresentation',
data: "{ scheduleID: '" + ID + "',YearId:" + YearId + ",CompanyId:" + CompanyId + "}",
contentType: "application/json; charset=utf-8",
dataType: "json",
async: false,
success: function (response) {
$("#divLoading").hide();
var data1 = [];
data1 = $.parseJSON(response);
data = data1;
},
error: function () {
$("#divLoading").hide();
swal("", "Error in Data !", "error");
}
});