is there a way i can change the styling of the placeholder(optionLabel) text for kendoDropDownList ?
thanks
1 Answer, 1 is accepted
1
Accepted
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 27 Sep 2021, 09:13 PM
Hi Ashutosh,
The Kendo UI DropDownList's optionLabel can be custom styled by using the optionLabelTemplate. With this property, you can add a class, or provide inline style.
btw, I was trying to do the same with DropDownTree but it did not work, will you be able to help me with that as well?
Patrick | Technical Support Engineer, Senior
Telerik team
commented on 30 Sep 2021, 03:43 PM
| edited
I'm glad that helped out! Typically, since this is an inquiry about another component, I'd suggest creating a forum post. But as an exception since it's just CSS, please take a look at the following:
The Kendo UI DropDownTree uses the Placeholder property and this can be styled with CSS.