StefH / KendoGridBinderEx

This is a ModelBinder designed to consume an http request and build a json serializable object for the Kendo UI Grid datasource. AutoMapper is used to support mapping from ViewModel <> Entity.
MIT License
54 stars 24 forks source link

How to use conversion parameter when building KendoGridEx? #11

Closed tharidu closed 10 years ago

tharidu commented 10 years ago

Thanks for the awesome framework. It works OOB. Can you give an example on how use conversion parameter when building KendoGridEx?

StefH commented 10 years ago

By default AutoMapper is used as conversion to convert Entities to ViewModels.

If you want your own conversion function; provide a function which implements this interface: Func<IQueryable, IEnumerable> conversion

tharidu commented 10 years ago

Thanks for the answer StefH