Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

ListView does not render template on query

$
0
0
Hi Eli,

Please check out the DataSource API reference for explanation and sample usage of the query() method:

http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#methods-query

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:

http://dojo.telerik.com/uKiKA

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() method:

http://dojo.telerik.com/uKiKA/2

The following how-to article from our documentation might also prove useful:

http://docs.telerik.com/kendo-ui/controls/data-management/listview/how-to/filtering-using-slider

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.

Regards,
Dimiter Topalov
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.

Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>