This is a migrated thread and some comments may be shown as answers.

make column title BOLD

1 Answer 1818 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Neha
Top achievements
Rank 1
Veteran
Neha asked on 27 Aug 2020, 07:54 AM

Hi

I want to make the column title of kendo grid as BOLD font

please help 

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 28 Aug 2020, 07:17 PM

Hi Neha,

In order to the Kendo UI Grid headers, use CSS.  For example:

    #Grid .k-grid-header .k-header{
        font-weight: bold;
    }

Alternatively, another option is to use the HeaderHtmlAttributes configuration individually on specific columns:

columns.Bound(p => p.ProductName).HeaderHtmlAttributes(new { style="font-weight: bold" });

Regards,
Patrick
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Neha
Top achievements
Rank 1
Veteran
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or