Auto-Complete with a pager

4 posts, 0 answers
  1. Paul Russo
    Paul Russo avatar
    2 posts
    Member since:
    Jun 2010

    Posted 20 Sep 2012 Link to this post

    Is there a way to add the pager to an Auto-Complete Box?  In the Auto-Complete demo I see pageSize set to 20 and serverPaging set to true, but it's not clear how to invoke paging.  

    What would be nice is if I could add the kendo-ui pager to the bottom of an auto-complete.  
  2. Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 21 Sep 2012 Link to this post

    Hello Paul,

    I am afraid the described functionality is not supported and in addition, it is not a very good example of usability, to say the least.

    If the AutoComplete needs to show a very large number of similar items and typing the beginning of the text is not enough to limit their number, I recommend you to think of some approach, e.g. use filtering criteria outside the AutoComplete widget when databinding it.

    Regards,
    Dimo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Kesavan
    Kesavan avatar
    2 posts
    Member since:
    Dec 2013

    Posted 05 Mar 2014 in reply to Dimo Link to this post

    Hi Dimo,

    Can you please explain how does server paging and server filtering works in kendo autocomplete.
    it is very confusing reading different posts on the same.

    I am looking for how does the next page of server filtered data will pop when scrolling down the autocomplete.
    Also share some example if possible.
    my email ID : kesavan.subramani@ibs.net

    I have attached a sample page I unsuccessful to do the same.

    Regards,
    Kesavan
  5. Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 05 Mar 2014 Link to this post

    Hello Kesavan,

    I don't see a #searchSomething element on the page, but its value is referenced in the parameterMap function. Am I missing part of the code logic?

    In addition, our Kendo UI data service will not recognize the "wildcard" custom parameter.

    Have you tried using the AutoComplete's search method? You can call it on a button click or input change, instead of using custom parameters in the parameterMap.

    http://docs.telerik.com/kendo-ui/api/web/autocomplete#methods-search

    Paging is not applicable to the AutoComplete widget, as mentioned.

    Regards,
    Dimo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready