Setting Font size in a Blazor Grid

Hi,

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.

Thanks

Bob

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, 

 
<style> 
    .e-grid .e-headercelldiv{ 
        font-size:7px; 
    } 
    .e-grid .e-rowcell{ 
        font-size:7px; 
    } 
</style> 


Please get back to us if you need further assistance. 

Regards, 
Renjith Singh Rajendran. 


Loader.
Up arrow icon