Completed
Last Updated: 09 Jun 2021 14:22 by ADMIN
Release R2 2021 SP1
Luca
Created on: 08 Apr 2021 15:34
Category: GridView
Type: Bug Report
1
RadGridView: in Crystal theme when EnableHeaderCheckBox=true the header text font is not the same as others

You can also note it in demo application with this settings:

1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 08 Apr 2021 15:40

Hi,

To workaround this issue use the following code snippet:

 private void RadGridView1_ViewCellFormatting(object sender, CellFormattingEventArgs e)
 {
     if (e.Column is GridViewCheckBoxColumn && e.CellElement is GridHeaderCellElement)
     {
         var cell = e.CellElement as GridHeaderCellElement;
         (cell.Children[2] as RadCheckBoxElement).CustomFont = "";
     }
 }

I hope this helps.

Regards,
Nadya
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.