Question

How do I change the color of the currently selected record in extjs combobox? As you can see the image below, the record Petty Cash Fund is the currently selected item on my dropdown but the highlight color is not noticeable. How do I change this for all the combobox in my application?

enter image description here

Was it helpful?

Solution

The selected element in a combobox has the css class x-boundlist-selected. Just override its color in your custom css.

Or, since it is a built-in style, you could change $boundlist-item-selected-background-color in the template

Tip: Use Chrome Developper Tools

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top