I can override Ajax with loadServerData, but grid not working.
It cannot filter or sort and records fix at 20 row only,if more than records of empty.
Can you tell me loadServerData Sample ?
Below this my code:
var dataAdapter = new $.jqx.dataAdapter(dataSource, {loadServerData: function (postdata, source, callback)
{
$.ajax({
url: source.url,
data: postdata,
type: "POST",
async: true,
global: false,
success: function (data, status, xhr)
{
if ($.isFunction(source.beforeprocessing))
{
source.beforeprocessing(data, status, xhr);
}
var records = $.parseJSON(data);
dataAdapter.loadjson(null, records, source);
callback({records: dataAdapter.records, totalrecords: records[0].TotalRows});
}
});
}});