guys - we have a method in the ItemDataBound that works well. but I have a question. is it possible to exclude one of the columns. and even have that one cell
be it's own color?
switch (inv_gridcolors)
{
case 2: //On shipping truck in yard
foreach (TableCell cell in boundItem.Cells)
{
cell.BackColor = System.Drawing.Color.Magenta;
inTruck = true;
}
break;
case 1: //Invalid; Move pending
foreach (TableCell cell in boundItem.Cells)
{
cell.BackColor = System.Drawing.Color.RoyalBlue; ;
}
break;
}
be it's own color?
switch (inv_gridcolors)
{
case 2: //On shipping truck in yard
foreach (TableCell cell in boundItem.Cells)
{
cell.BackColor = System.Drawing.Color.Magenta;
inTruck = true;
}
break;
case 1: //Invalid; Move pending
foreach (TableCell cell in boundItem.Cells)
{
cell.BackColor = System.Drawing.Color.RoyalBlue; ;
}
break;
}