Row colours

Hi,

In v6, I see that the rowBGColorCalculation has gone from the form properties and I’ve found a suggestion to use the ‘OnRender’ event.
I’ve also found reference to new styles, odd, even and selected

How do I use these to get alternating coloured rows in a table view?

I’m curious too. I have been playing around with the onRender event and can’t quite figure out how it’s supposed to work.

edit:
I’m going to create a new thread so not to overtake this one

You only the the property when you used it in older versions of Servoy!
So it still works, but if you set the property to default, it hides, and you can’t get it back

The new way is to use: onRender:

see here for an example:
viewtopic.php?f=1&t=15873&p=85598&hilit=onrender+example#p85598