Enable Filtering with Static List

2 posts, 0 answers
  1. Pranay
    Pranay avatar
    3 posts
    Member since:
    Apr 2015

    Posted 03 Oct Link to this post

    Is there a way to enable filtering in the list if it does not use a dataSource and just binds directly to the HTML ?

     

    <ul id="listView">
        <li>Item 1</li>
        <li>Item 1</li>
        <li>Item 1</li>
    </ul>

    <script>

    $("#listView").kendoMobileListView({

    filterable: true

    });

    </script>

     

    I do get a textbox to filter, but no matter what I type, nothing comes up!

  2. Stefan
    Admin
    Stefan avatar
    264 posts

    Posted 05 Oct Link to this post

    Hello Pranay,

    Filtering the MobileListView is available only when the ListView is bound to a dataSource. This is because the filtering is made based on the data items in the dataSource:

    http://docs.telerik.com/kendo-ui/api/javascript/mobile/ui/listview#configuration-filterable

    The information will be shortly updated in the documentation.

    Let me know if you need additional information on this matter.

    Regards,
    Stefan
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
Back to Top