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

extending DDL to have additional icon to right of down arrow

1 Answer 49 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 22 Dec 2015, 12:01 AM

I want to have a dropdownlist where there is an additional icon to the right of the down arrow in the dropdownlist (part of the widget, but to the right of the dropdownlist). Clicking the new icon would pass an additional param to the web service endpoint that retrieves the results shown in the dropdown.

Two separate questions:

1. How best to approach? Extend the kendo DropDownList? This is what I feel would be most appropriate, but wanted to confirm my feeling.

2. How best to style it? I want the new icon to the right of the down arrow. Are there any examples of how best to accomplish this?

Thanks,

--Ed

1 Answer, 1 is accepted

Sort by
0
Accepted
Alexander Valchev
Telerik team
answered on 23 Dec 2015, 04:17 PM
Hello Ed,

The functionality that you are looking for is not supported by the DropDownList widget so extending it is the most appropriate way. Assistance related to custom widgets is out of the scope of the standard support service that comes with the controls but you may check this tutorial as it explains the basics with code examples.

The styling can be easily implemented if you use same HTML as in the original DropDownList. In case you plan to work with the build-in Kendo UI icons check this demo page:


Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
DropDownList
Asked by
Ed
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or