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

Adding alternate backgorund color

1 Answer 123 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Sherlock
Top achievements
Rank 1
Sherlock asked on 13 May 2015, 05:30 PM

Hi Support,

Is it possible to add an alternate background color to a DropDownList control?

Thank you.

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 15 May 2015, 11:49 AM

Hi Sherlock,

This scenario is not supported out-of-the-box by Kendo UI DropDownList, however you could easily give each second item a different color via additional CSS. For example: 

.k-list li:nth-child(2n) {
    background-color: red;
}

 

Regards,
Iliana Nikolova
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
DropDownList
Asked by
Sherlock
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or