Oh, I got it now! It shows the pager now, thank you.
So would this be the right way to pass current page to the service VIA $POST?
getUrl: function (ui)
{
var pageModel = ui.pageModel;
var filters = { "name" : $("#txName").val(),
"curPage": pageModel.curPage,
"recPerPage": pageModel.rPP,
};
return {
url: "../services/Search.php",
data: { dataBuffer: filters }
};
},
I also have a question in regards of totalRecords. I prefer not to calculate total and leave it blank, but then pager misbehaves. Is there a way to handle this situation?