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
close icon

How to set the font size of GridDataControl

Hi,

I tried GridDataControl.FontSize, but it did not work. Thanks.

2 Replies

SH Shawn November 19, 2009 12:45 PM UTC

I found that a custom IGridDataVisualStyle works. Is there any simpler way?


MS Mohamed Suhaib Fahad A. Syncfusion Team November 21, 2009 02:37 AM UTC

Hi Xiang,

Thanks for using Syncfusion products. The GridDataControl has different record types that could be customized easily with the IGridDataVisualStyle interface, One more way is to use the Model.QueryBaseStyles event and then add the Font to the BaseStyles,

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=sample1654137649.zip

Please check the above sample.

Thanks,
Fahad

Loader.
Live Chat Icon For mobile
Up arrow icon