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

Placeholder for Filter

1 Answer 148 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 15 Apr 2019, 05:13 PM

Is there a way to add a placeholder for the filter input box?  I have Select Location as my main placeholder but when the user opens the tree I would like the placeholder in the search box to be "Search by city...".

 

Thanks,
Bill

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 17 Apr 2019, 12:09 PM
Hello Bill,

I've already replied to your query in the support ticket. I suggest that we continue our technical conversation in the mentioned thread.

I will also paste the reply here so other developers can find it helpful as well:

There is a built-in placeholder for the dropdowntree itself:
https://docs.telerik.com/kendo-ui/api/javascript/ui/dropdowntree/configuration/placeholder

As for the filtering input, you can use the open event handler:
https://docs.telerik.com/kendo-ui/api/javascript/ui/dropdowntree/events/open

Like this:
https://dojo.telerik.com/AJediKUZ/3


Regards,
Eyup
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
DropDownTree
Asked by
William
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or