Evaluating Kendo-ui-Grid
We already have loads of API’S defined and working. We are making a call from angular services via
Rest angular to access WebAPI and the results are being returned as a Data contract object and consumed as a JSON in angular controllers.
I was having a look at the fiddler calls for each Server Side pagination, filtering and sorting with the
demo examples. I see that lots of additional parameters are being appended to the request to get it working, which has to be to get it working.
And the output results are wrapped in an object, including __count and the output wrapped in results object.
For example :--
A couple of clarifications are needed on observing the below calls in fiddler.
GET
/kendo-ui/service/Northwind.svc/Employees?$callback=jQuery19109150235853157938_1432724185770&%24inlinecount=allpages&%24format=json&%24top=5&%24skip=5
GET
/kendo-ui/service/Northwind.svc/Orders?$callback=jQuery19109928784077055752_1432727010629&%24inlinecount=allpages&%24format=json&%24top=20&%24filter=(OrderID+eq
+10249+and+substringof(%27toms%27%2CShipName)+and+Freight+gt+11)
HTTP/1.1
/kendo-ui/service/Products?callback=jQuery19106439431465696543_1432804943581&_=1432804943582
HTTP/1.1
1) Is there a way by which we can still use our existing webapi’s just by capturing the skip, top, format, filters etc from the data of grid and pass it to our
webapi . This would enable us to re-use our Angular js service calls from controller to make a Rest call to webapi.
2) What are the expected fields of data output from the webapi for the kendo grid to work successfully with server side pagination, server side filtering and
server side sorting.
3) Is it possible, to map data results from our custom webapi to kendo ui grid ?.
4) Can we have more information on the necessity of callback query string input in webapi call
and is it always necessary to have this sent across webapi calls ?. We don’t
understand the practical usage of this.
5)If you don’t have an option to map custom webapi results to kendo- grid, It will be great if we can get an code sample on what should the definition of webapi
output’s be to get the grid working successfully.
It will be very much appreciated if we get some code snippets to prove the above things. This would enable us to
promisingly go ahead and buy licenses.
Thanks in advance for your time. It would be very much appreciated, if we get a quick response regarding the same.