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?
TIMAI2
February 6, 2023, 1:25pm
2
Asked here (for listpicker and listview)
It depends on what you want Avraham and what is possible.
It is impossible to change the background color or individual items in a ListPicker with Blocks.
You can add a colored emoji image to what is posted in the ListPicker.Elements without modifying your original List. See my previous posts for a method to add emoji to a ListPicker (item) as a flag or use an extension with a ListView instead or write your own ListPicker extension.
Early in this discussion it was pointed out that it is im…
ABG
February 6, 2023, 4:25pm
3
You can simulate such a ListView ...
or
TIMAI2
February 6, 2023, 9:17pm
5
You could always attempt something like this:
Thank you for all kind help!
TIMAI2
February 6, 2023, 9:40pm
7
and using TableViewer as a listview
...or use an HTML table, which allows you to have more than one column and image cells as required.
1 Like