Working with Kendo UI version 2016.2.504, I have tested two filtering method calls across the same odata-v4 dataSource:
1. via .filter() - gridStage.model.DS.filter(DSfilter()) results in:
/app/odata/vwgriddc_info?%24format=json&%24orderby=dc_name&%24filter=dc_id+eq+109&%24count=true
2. via .query() - gridStage.model.DS.query(DSfilter()) results in:
/app/odata/vwgriddc_info?%24format=json&logic=and&filters%5B0%5D%5Bfield%5D=dc_id&filters%5B0%5D%5Boperator%5D=eq&filters%5B0%5D%5Bvalue%5D=109&%24count=true
The former works perfectly; the latter fails to properly encode the filter in odata-v4 format and ignores the existing sort parameter.
I would prefer to render the return within the .query().then() promise, but have worked around the problem with .filter() and requestEnd/setTimeout.
Are there plans to update .query() to support odata-v4? Or, is there some other sort of work around to this issue.
Thanks!