datagrid - Select Specific Row and change color of row c# -


i seeking bit of piece of code, trying select 1 single row out of 20 , make row different color rest, best way go this, first of created if statement if (name equals "total") make row different color, unsure of how select , change color of row, row needs selected within flex grid

if (benchname.equals("total"))    {       (int ab = 0; ab < 24; i++)       {        this.grid2.cell(4, ab).backcolor = color.red;        }                                  } 

the if (benchname.equals("total")) statement shoud inside statement, or other if statement verify right cell change colour.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -