View Full Version : dynamic css for combobox

24 Nov 2014, 2:35 AM
Using superboxselect based combobox.

It has a nice property extraItemStyle = 'background:red; color: black;'

Problem is - its static. Is there a way to get a value from the combobox store in property - so i can use something like: extraItemStyle = 'background:{bgcolor}; color: {txcolor};'

TPL doesn't work since it creates new element instead of modifying the <li> css so the end result is a smaller colored element inside it.

24 Nov 2014, 12:04 PM

User extensions aren't supported by Sencha. You will need to reach out to the extension author directly for support in most cases.

24 Nov 2014, 10:38 PM
Well its largely still works like combobox. What i am wondering if there are any other features - or a different way to use tpl ( like overriding parent element css etc).