how to filter the items

3 posts, 0 answers
  1. Michal Revivo
    Michal Revivo avatar
    22 posts
    Member since:
    Mar 2009

    Posted 12 Apr 2013 Link to this post

    Could you explain how to refresh and filter the listView according to a specific category in the web sushi sample ?

    var items = new{
        schema: { model: {} },
        transport: { read: { url: window.sushiMenuPath, dataType: "json" } }


  2. @CC
    @CC avatar
    6 posts
    Member since:
    Jun 2008

    Posted 24 Jan 2014 Link to this post

    Did you figure this out?
  3. Alexander Valchev
    Alexander Valchev avatar
    2895 posts

    Posted 28 Jan 2014 Link to this post

    Hello guys,

    You can filter the ListView data through using the filter method of the DataSource:

    If the filtering should happen on the server, then the serverFiltering configuration option should be set to true.
    In this case the dataSource will send filter parameters to the server and will expect to receive the filtered data as a response to the Ajax request. In case you need to modify or change the format of the filter parameters you can use the parameterMap function.

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top