make column title BOLD

2 posts, 0 answers
  1. Neha
    Neha avatar
    7 posts
    Member since:
    Jul 2020

    Posted 27 Aug 2020 Link to this post

    Hi

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

    please help 

  2. Patrick
    Admin
    Patrick avatar
    251 posts

    Posted 28 Aug 2020 Link to this post

    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/.

Back to Top