We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Setting Font size in a Blazor Grid


I am trying to achieve a smaller font size in my Blazor grid.  Using CSS I am able to control the font in the Grid (headers and columns) but whatever I try, the font size remains at 14px.  
Please advise and provide a sample.



1 Reply

RS Renjith Singh Rajendran Syncfusion Team February 3, 2020 07:24 AM UTC

Hi Bob, 

Thanks for contacting Syncfusion support. 

We suggest you to set the font-size for the “e-headercelldiv” and “e-rowcell” classes to apply the font size for the columns and headers in Grid. We have also prepared a sample based on this requirement, please download the sample from the link below, 
Please add the below styles to your application, 

    .e-grid .e-headercelldiv{ 
    .e-grid .e-rowcell{ 

Please get back to us if you need further assistance. 

Renjith Singh Rajendran. 

Live Chat Icon For mobile
Up arrow icon