I have found the solution. I have overwritten the loadServerData function of the dataadapter, using ajax post. This is my method, if it helps someone:
var dataAdapter = new $.jqx.dataAdapter(source, {
loadServerData: function (serverdata, source, callback) {
$.ajax({
type: “POST”,
dataType: source.datatype,
url: source.url,
data: serverdata,
success: function (data, status, xhr) {
callback({ records: data.records, totalrecords: data.totalrecords });
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
alert(“some error”);
}
});
}
});