I've used JayData to load data from OData enabled asp.net web api within following query:
.withInlineCount().filter('it.IsArchived != true').orderBy('it.dVehicle_01').take(6)
As a result, I have an array of entities, that have a property named totalCount which is correct.
Then I'd like to set this results and it's total count for kendo pager datasource.
I could set data, but for totalCount I've tested a lot of options, but I couldn't figure it out.
My data grid should work with both offline and online databases so using kendo ui remote data source is not a suitable option for me.