PDA

View Full Version : bolding combo items



talshadar
4 May 2009, 12:52 PM
I was wondering whether it is possible to bold or set a style (color, font etc) to particular items in a combobox? It would be fed via a JSonStore.

Any ideas/suggestions would be appreciated.

tryanDLS
4 May 2009, 1:11 PM
You can add a class via the listClass config. If you want to apply styles to only some of the items, you'd have to look at modifying the template used to build the combo. I think there are examples of that in the forums.

talshadar
6 May 2009, 5:33 AM
not having a lot of luck tracking down a good example of setting a template for how I need it. It was only a nice-to-have anyway so I think I'll shelve it until I have more time to devote to it. I'll come back to it and if I can get it to work, I'll post and example.

Thanks for the pointer.

Matthew