简体   繁体   中英

Kendo UI for Angular2 Grid Web API databinding

I see in the KendoUI for Angular 2 sample ( http://www.telerik.com/kendo-angular-ui/components/grid/data-binding/ ) the grid binds to an oData service. Is there a way to bind to a plain Web API restful service instead?

My back-end is an ASP.Net Core (full framework) service, which does not support oData services yet (based on this: https://github.com/OData/WebApi/issues/772 )

That implementation is based on Angular's Http service, so you should be able to do the same with any REST end point. The Kendo UI Grid does not really care about the particular endpoint, and just waits for the JSON data to be passed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM