Web ListView search and autocomplete

2 posts, 0 answers
  1. John
    John avatar
    2 posts
    Member since:
    Aug 2013

    Posted 03 Sep 2013 Link to this post

    is there a way to tie autocomplete to listview results? What I'm trying to do it to use autocomplete search box, and as results come in, populat listview.

  2. Alexander Popov
    Alexander Popov avatar
    1411 posts

    Posted 04 Sep 2013 Link to this post

    Hello John,

    This functionality is not supported out of the box, however you could achieve similar behavior using the Autocomplete's ul property which is holding the available suggestions. You could attach a handler to the input element's keydown event and list display the Autocomplete suggestions, for example:
    $("#autocomplete").on("keydown", function(e){

    The default delay for displaying the suggestions popup is 200ms, so I've added a setTimeout function with the a slightly longer delay to ensure the popup is indeed displayed.

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