I read the documentation and change my code according to the information.
var source =
{
datatype: “xml”,
datafields: dataFields,
url: ‘Country.aspx/GetCountry’,
record: ‘Table’
}
var SearchDataAdapter = new $.jqx.dataAdapter(source, {
contentType: ‘application/json; charset=utf-8’,
formatData: function(data) {
return “{‘index’:’5′}”;
}
});
I dont know if I do something wrong because it doesn’t work.
Thanks for your help