Please check out the DataSource API reference for explanation and sample usage of the query() method:
All relevant dataSource configuration options like page, pageSize, sort, filter, etc., should be provided in as query()
arguments, or the initial configuration will be lost.
You can also check out the following resources on server data-operations (grouping, aggregates, filtering, sorting, paging), and make sure that the remote data service is properly configured. Also note that mixing data operations modes
is not supported, and will have undesired side effects.
I have prepared a simple example (with client-side operations) that illustrates the query() method properly filtering the ListView:
On a side note, if you just want to filter the dataSource
, you can use the filter() method
that does not have all side effects of the query()
The following how-to article from our documentation might also prove useful:
I hope this helps, but if the issue persists, please send us a similar isolated runnable project
(you can also use the Kendo UI Dojo
) where it can be observed, so we can inspect what might be causing it, and provide a more to-the-point suggestion.
Telerik by Progress