I have the following code that changes the colum of a portals foreground color;
if (productsalesorders_to_productsalesorderlineitems.invstatus == ‘Shipped’)
{
elements.ItemStatus.fgcolor = ‘#cc0000’;
elements.EstShipDate.fgcolor = ‘#cc0000’;
elements.ServiceStatus.fgcolor = ‘#cc0000’;
}
else
{
elements.ItemStatus.fgcolor = ‘#000000’;
elements.EstShipDate.fgcolor = ‘#000000’;
elements.ServiceStatus.fgcolor = ‘#000000’;
}
I want to be able to change the row color, not the entire column. I cannot reach elements via the relationship tree, how could I accomplish ths?
Thanks,
Erich