Hello,
I'm using scheduler in a very simple mode - a read-only month view. I'd like to read from the server every time the user navigates. I have found some sample code on this forum from 2013, however the latest library code is a bit different.
Anyway, I have an ALMOST working solution. I have serverFiltering = true, and my Controller method is set up to work with DataSource filtering:
public virtual JsonResult HistoryData(Guid id, [DataSourceRequest] DataSourceRequest request)
However, the scheduler JS library fails because it expects the data to some back in a simple list format. The controller is obviously returning a "filterable" format like so:
Data->
Total:1
Filters: ...
Errors: ...
Data: [...]
So my question is, if we're using serverFilterable flag to force the reads, shouldn't I be able to use [DataSourceRequest] in my controller?
Could you please provide an up-to-date MVC project sample for this scenario?
Many thanks.