FIlterable listview fixed search box

4 posts, 0 answers
  1. NOON
    NOON avatar
    5 posts
    Member since:
    Aug 2009

    Posted 22 Oct 2014 Link to this post

    Hello, I was wondering if there is a way to create a filterable listview, but while the user scrolls through its items, the search box can stay fixed on top and never disappear from screen. Currently when the user starts scrolling the search box disappears after a few scrolls and the user has to scroll all the way up in order to search.

  2. Martin Yankov
    Admin
    Martin Yankov avatar
    177 posts

    Posted 27 Oct 2014 Link to this post

    Hello,

    The Kendo UI Mobile ListView widget does not offer such functionality out of the box. You can submit such an idea in the Kendo UI Feedback Portal and vote for it. That being said, you can implement such a functionality yourself. You just need to place a text input in the view header, so that it does not scroll with the ListView and bind it to filter the ListView data source on key up. I have implemented a simple example here. Of course, you will have to style this search box yourself.

    I hope this information was helpful. Let me know should you have any other questions.

    Regards,
    Martin Yankov
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  3. NOON
    NOON avatar
    5 posts
    Member since:
    Aug 2009

    Posted 27 Oct 2014 in reply to Martin Yankov Link to this post

    Thanks for replying to my post! This is a very nice solution but there is an issue regarding this. When used with remote views in Windows Phone Simulator it takes some time to remove the search box and when we press the backbutton it shows up for a while in the other view. 
  4. Martin Yankov
    Admin
    Martin Yankov avatar
    177 posts

    Posted 28 Oct 2014 Link to this post

    Hi,

    I was not able to reproduce what you are describing. I tested on a low end Windows Phone 8 device and the search box hides as fast as the view is hiding depending on the transition effect. I have attached a sample project for reference. If you could open a support ticket and send me your sample project, maybe I could reproduce this.

    I am looking forward to your reply.

    Regards,
    Martin Yankov
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top