This is a migrated thread and some comments may be shown as answers.

Auto-Complete with a pager

3 Answers 173 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Paul Russo
Top achievements
Rank 1
Paul Russo asked on 20 Sep 2012, 07:44 PM
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.  

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 21 Sep 2012, 12:22 PM
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!
0
Kesavan
Top achievements
Rank 1
answered on 05 Mar 2014, 12:40 PM
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
0
Dimo
Telerik team
answered on 05 Mar 2014, 01:44 PM
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!
Tags
AutoComplete
Asked by
Paul Russo
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Kesavan
Top achievements
Rank 1
Share this question
or