Web 2.0 WebListBox cell color

Hi Derek, check the WebListBoxStyleCellRenderer class, it has an example in the documentation.

You will have to create an instance of WebListBoxStyleCellRenderer (you can reuse it later), set its BackgroundColor and ForegroundColor. Once you have the styles defined, use your Listbox’s CellValueAt to assign it.

There is also an example showing how to add some custom CSS in this forum: