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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Setting Font size in a Blazor Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

151174 Feb 3,2020 04:10 AM UTC Feb 3,2020 07:24 AM UTC Blazor 1
loading
Tags: Grid
Bob Troppmann
Asked On February 3, 2020 04:10 AM UTC

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

Renjith Singh Rajendran [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon