How to display all items in the autocomplete widget

4 posts, 1 answers
  1. Douglas
    Douglas  avatar
    10 posts
    Member since:
    Sep 2011

    Posted 26 Nov 2013 Link to this post


    Is it possible to display all available items in autocomplete widget without changing the source code?

    I’ve got something like this, that is an attempt to open the options when textfield receives focus, but it is not working.

    dataSource: ["Item1", "Item2"],
    delay: 100,
    minLength: 0

     $("#myAutoComplete").focus(function () {

  2. Answer
    Dimo avatar
    8406 posts

    Posted 27 Nov 2013 Link to this post

    Hi Doug,

    The AutoComplete widget has not been designed to return all items or to "search" by an empty string.

    Theoretically, you could achieve the desired behavior by using server-side filtering and using some "magic" search string, that will be recognized by the web service, which will return all data items in that case.

    Alternatively, if the total number of items is reasonable and will not cause a browser hang, use the ComboBox widget instead.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Douglas
    Douglas  avatar
    10 posts
    Member since:
    Sep 2011

    Posted 04 Dec 2013 Link to this post

    Thanks this is what we have done.
  4. oasys
    oasys avatar
    2 posts
    Member since:
    Jul 2007

    Posted 03 Feb Link to this post

    The feature has not yet been implemented but you could have a look here : 
    There are still some css adjustments to be done with the close icon when the list is shown.

    It would be nice if this would be inserted in a future release. 

Back to Top