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

Cannot add some Kendo components to DropDownList body

1 Answer 10 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 03 Mar 2017, 06:43 PM

Hello, I'm trying to add an kendo AutoComplete into a kendo DropDownList (and a lot more, but for simplification I'll only talk about AutoComplete since everything else I want to do works). I've tried straight up injecting the HTML and I've tried putting it in a headerTemplate. Some kendo components work this way, like adding another DropDownList. While others like AutoComplete do not. Some (MulitSelect) behave very slowly, but still work. I made a small example of this in a dojo http://dojo.telerik.com/ovEJe/4 .

Could you help me out with a solution to get AutoComplete to work in a DropDownList? Or point me to some way to use a kendo DropDown that allows the developer to put whatever they want in it without having to use a DropDownList, pass it no data, and use headerTemplate or JQuery to inject custom HTML.

Thanks

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 07 Mar 2017, 09:20 AM
Hello Greg,

I am afraid that at the time being such usage in the HeaderTemplate of the DropDown is not supported. The reason is that the dropdown keeps it focus and prevents typing in inputs, unless a filtering is enabled.

I can suggest you to log this as feature request in our public UserVoice portal below:

http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback


Regards,
Nencho
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
DropDownList
Asked by
Greg
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or