You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Kendo.Mvc.Extensions ToDataSourceResult has an overload that enables a function to be called in order to bind the result to VM/DTO this overload is missing in Kendo.DynamicLinq where only 3 overloads exist.
Attempts to work around
I tried to use the Kendo.Mvc.Extensions but the filters and sorts don't match up.
Using the Kendo.Mvc.Extensions made a huge improvement in performance as the DTO conversion was made after the data was filtered and sorted.
It will be great to have it.
10x
The text was updated successfully, but these errors were encountered:
Ran into this just recently. My work around using AutoMapper: DataSourceResult retVal = result.ToDataSourceResult(request); retVal.Data = retVal.Data.OfType<RawData>().Select((raw) => _mapper.Map<ViewModel>(raw)ToList(); return retVal;
General
The Kendo.Mvc.Extensions ToDataSourceResult has an overload that enables a function to be called in order to bind the result to VM/DTO this overload is missing in Kendo.DynamicLinq where only 3 overloads exist.
Attempts to work around
I tried to use the Kendo.Mvc.Extensions but the filters and sorts don't match up.
Using the Kendo.Mvc.Extensions made a huge improvement in performance as the DTO conversion was made after the data was filtered and sorted.
It will be great to have it.
10x
The text was updated successfully, but these errors were encountered: