color specific rows in a grid
Amir Kobylinski
Hello,I need to color just only a few rows in the grid with read and I used this:
grd.Columns["Message"].ForegroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this statement color all the rows of the column so please is there any thing that let me color only the wanted row.
for example
for(int i = 0 ; i < grd.rows.count ; i++)
{
if(i == 3)
grd.Columns["Message"].ForegroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
}
but it didn't work.
thank you very much.
Manuel Marhold
Dear Amir,this is not the first time this question ist posted..
No, it is not possible, SAP doesn't provide this functionality within the SDK.
0
Please sign in to leave a comment.
Comments
0 comments