Set different colors to elements in listview

Hi! Here is a new one....at least for me. Is it possible to set different color on elements of a listview (depending on some condition), so that one line (element) will be displayed in a color and another in another color?

Asked here (for listpicker and listview)

You can simulate such a ListView ...

or

Thank you !!

You could always attempt something like this:

Thank you for all kind help!

and using TableViewer as a listview

image

Great! Thanks!

...or use an HTML table, which allows you to have more than one column and image cells as required.



1 Like