Hi Anton,
Thanks for Contacting Syncfusion support.
Please find the response for your queries.
Query #1: the problem is that UrlAdaptor uses POST-typed request for all purposes which is not compatible with REST paradigm.
WebApiAdaptor on the other side follows REST convention but it passes filtering, sorting and paging parameters in the query string as GET request obviously doesn't support request body.
Odata query like $skip,$take is not supported dataManager url adaptor.This is default behavior.
Query #2: The question is - is there any conveniet way to instantinate server-side DataManager from query string?
Please find the work around for the above requirement.
var getC = new ej.UrlAdaptor().extend({
init: function () {
this.options.requestType = '';
}
});
$(function ){
Data = getC()
}
|
Regards,
K.Karthick.