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.