cancel
Showing results for 
Search instead for 
Did you mean: 

Tableview - change color in row

alberto_colonna
Participant
0 Kudos

Hi all,

I have a tableview in my view and I have to change the color for each second row in the table. For example: 1. row: blue, 2. row: white, 3. row: blue, 4. row: white ...

How can I do this?

Best regards & Thanks in advance!

Alberto

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

And if you are not planning to use iterators then you can use the design attribute of the tableView itself....

The value will be

<htmlb:tableView id = "tv1"
     ......
                     design = "ALTERNATING" />

But this will not work if we use iterators...

Hope this helps.

<b><i>Do reward each useful answer..!</i></b>

Thanks,

Tatvagna.

raja_thangamani
Active Contributor
0 Kudos

You can achieve the same using Iterator.

Look at the below thread...

<b>*Reward each useful answer</b>

Raja T