table view and rowBGcolor

It seems that when you use a table view the rowBGColorCalculation doesn’t work as expected.

I use the following calculation:

var index = arguments[0];
var selected = arguments[1];
if (selected){
	return "#ffff99";
}else{
	if (index % 2 == 0)//alternate even/odd
	{
		return '#edf3fc'; 
	}else{
		return '#ffffff'; 
	}
}

This shows a color for the odd and even rows, but also the selected row.
All this works nice in list-view but in table view it only shows the selected row color.
It does receive the index information but it seems the table view ignores the returned color code.

Known issue? Or is this by design?

Also when you click on a field in the table view the bgcolor disapears. Even if the fields are not editable or you use labels.
It would be nice if it would behave like listview when the fields are not editable.

which version of servoy are you using?
I can’t reproduce it with the latest builds (there will be a 2.2 beta released very soon so if you can test youre bgcolorer again with that build)

Fields/buttons/labels are never colored in listview (so also not if they aren’t editable)
Or are they transparent? Then the table and listview are working a bit different and thats something we currently can’t do anything about.