Completed
Last Updated: 01 Dec 2015 10:50 by ADMIN
ADMIN
Dimitar
Created on: 31 Aug 2015 11:41
Category: GridView
Type: Bug Report
0
FIX. RadGridView - the alternating row color is not correctly set when the current cell is changed fast.
To reproduce:
- Enable the alternating row color and change the current cell as fast as you can.

Workaround:
void radGridView1_RowFormatting(object sender, RowFormattingEventArgs e)
{
    if (e.RowElement.RowInfo.Index %2 ==0)
    {
        e.RowElement.DrawFill = true;
        e.RowElement.GradientStyle = GradientStyles.Solid;
        e.RowElement.BackColor = Color.Aqua;
    }
    else
    {
        e.RowElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
        e.RowElement.ResetValue(LightVisualElement.GradientStyleProperty, ValueResetFlags.Local);
        e.RowElement.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local);
    }
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments