In Development
Last Updated: 10 Sep 2024 07:43 by ADMIN
Scheduled for 2024 Q4 (November)
Connor
Created on: 20 Aug 2024 12:47
Category: GridView
Type: Bug Report
1
RadGridView: Disable the selection checkboxes if the Selected state is not allowed for the data row
1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 20 Aug 2024 12:55

Hello, Connor,

Please use the following workaround until we introduce a fix for it:

private void RadGridView1_ViewCellFormatting(object sender, CellFormattingEventArgs e)
{
    GridSelectCellElement selectCell = e.CellElement as GridSelectCellElement;
    if (selectCell != null && e.RowIndex > 2)
    {
        selectCell.Enabled = false;
        //workaorund
        e.Row.IsSelected = false;
        e.Row.IsCurrent = false;
    }
}

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Attached Files: