odd, even, selected css in Servoy 6

Hi,

do I have to create a style for every list forms (table view) they should have different colors?

i think you have to yes if you want to have a different coloring between them.

Hi all,

in Servoy 6.0 the different list coloring by only one style works very well by doing this:

odd, even, selected {
	background-color: #FFF;
	color: #000000;
}

odd {
	background-color: #F5F7F9;
}

even {
		/*background-color: #DDDDDD;*/
}

selected {
	background-color: #969696;
	color: #FFF;
}
/* Alternative one of odd/even/selected row styling in grids (Portals and TableViews)*/
one.odd, one.even, one.selected {
	background-color: #FFF;
	color: #000000;
}

one.odd {
	background-color: #F5F7F9;
}

one.even {
		/*background-color: #DDDDDD;*/
}

one.selected {
	background-color: #969696;
	color: #FFF;
}

/* Alternative two of odd/even/selected row styling in grids (Portals and TableViews)*/
two.odd, two.even, two.selected {
	background-color: #FFF;
	color: #5C5C5D;
}

two.odd {
	background-color: #d4d4d4;
}

two.even {}

two.selected {
	background-color: #ffffb9;
	color: #FFF;
}

form.one {}

form.two {}

But it seems that this don’t work in Servoy 6.1, or I’m missing anything?

Regards,

It would be nice to know if and/or how it is working with Servoy 6.1.2 to set a different list coloring by only one css style as showed in the preview topic.

Regards,