Hi,
I have my Radgridview for Winforms (vb.net) with multi-select option.
I have set my code to change the backcolor of the grid based on a criteria.
If CInt(e.RowElement.RowInfo.Cells("trd_typ").Value) = 0 Or CInt(e.RowElement.RowInfo.Cells("trd_typ").Value) = 20 Then
e.RowElement.DrawFill = True
e.RowElement.BackColor = Color.LightYellow
ElseIf CInt(e.RowElement.RowInfo.Cells("trd_typ").Value) = 3 Then
e.RowElement.DrawFill = True
e.RowElement.BackColor = Color.Gold
End If
It works perfect!
But now when I multi-select the rows it doen't show the color of the selection? Is there a way to have the rows selected to have different color? Atleast I need to differentiate the selected rows.
In the attachment I submitted, I have selected row 2,3 and 4. It just shows the border of the rows little darker. Its very harder to distinguish the color of the selection.
So I just want a color for selecting records and if I unselect it, the color should come back to the original color.
I have my Radgridview for Winforms (vb.net) with multi-select option.
I have set my code to change the backcolor of the grid based on a criteria.
If CInt(e.RowElement.RowInfo.Cells("trd_typ").Value) = 0 Or CInt(e.RowElement.RowInfo.Cells("trd_typ").Value) = 20 Then
e.RowElement.DrawFill = True
e.RowElement.BackColor = Color.LightYellow
ElseIf CInt(e.RowElement.RowInfo.Cells("trd_typ").Value) = 3 Then
e.RowElement.DrawFill = True
e.RowElement.BackColor = Color.Gold
End If
It works perfect!
But now when I multi-select the rows it doen't show the color of the selection? Is there a way to have the rows selected to have different color? Atleast I need to differentiate the selected rows.
In the attachment I submitted, I have selected row 2,3 and 4. It just shows the border of the rows little darker. Its very harder to distinguish the color of the selection.
So I just want a color for selecting records and if I unselect it, the color should come back to the original color.