Unplanned
Last Updated: 17 Apr 2024 14:41 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 28 Mar 2017 05:56
Category: GridView
Type: Bug Report
2
FIX. RadGridView - no indication for a selected cell when multiple rows are selected and the current column is pinned
To reproduce: please refer to the attached sample project and gif file.

Workaround: use the CellFormatting event and apply the light orange BackColor for the selected cells belonging to the current pinned column:

private void radGridView1_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
    if (e.Row.IsSelected && e.Column.IsCurrent)
    {
        e.CellElement.BackColor = Color.FromArgb(255, 231, 174);
    }
    else
    { 
        e.CellElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
    }
}
0 comments