Since the calculation suggestion is the most powerfull, we prefer that one.
Let's go for the powerful one.. Hope there won't be any performance issue under networked solutions with huge records
var recordIndex = arguments[0]; // gets the index of the record
var selected = arguments[1]; //checks if this record is currently selected
if (selected)
{
return '#CCCCEE';
}
else
{
if (recordIndex % 2 == 0)//alternate on even oneven
{
return '#0000FF';
}
else
{
return '#FF0000';
}
}
yes for now don't base the controller on the same table..
use dummy
Users browsing this forum: Bing [Bot] and 6 guests