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.
Unfortunately, activation email could not send to your email. Please try again.

Grid Cell Font Size

Thread ID:





91230 Nov 10,2009 01:51 AM Nov 12,2009 08:27 AM Windows Forms 3
Tags: GridControl
Mia Cheng
Asked On November 10, 2009 01:51 AM

Is there any way to set more than one kind of font size in one cell?just like excel.
For example, I input one word ‘ABC’ in one cell , the font size of ‘A’ is 8 , the font size of ‘B’ is 10, the font size of ‘C’ is 12. When finish it , I will export to excel.

Thanks in advance!


Rajadurai C [Syncfusion]
Replied On November 10, 2009 07:57 AM

Hi Mia,

Thanks for your interest in Syncfusion Products.

In Syncfusion grid, to set characters in different font size, you can make use of "RichText" celltype. This celltype allows you to enter the text in the dropdownpart and apply different style, fontsize, color settings to the text.

Please refer to the browser sample shipped with Syncfusion Dashboard in the following location in which the RichText celltype has been employed.
[InstallDrive]:\Users\[username]\Documents\syncfusion\essentialstudio\[Installed version]\Windows\Grid.Windows\Samples\2.0\Cell Types\Rich Text Cell Demo\cs


Mia Cheng
Replied On November 12, 2009 01:38 AM

Thanks for your help!

I still have troubles.
My source of grid is a excel.
If I do what you say, the grid cell looks good .But when I export the grid to excel , the text of excel cell is a RTF.
I wish that I could set more than one kind of font size in the excel by Syncfusion grid, is there any way to achieve this ?


Rajadurai C [Syncfusion]
Replied On November 12, 2009 08:27 AM

Hi Mia,

Thanks for your update.

Exporting the richtext along with its style settings is not supported in Essential Grid. By default, only the formatted text can be exported. Also there are no workarounds found to achieve this.



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.

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.