The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Dear Syncfusion Team,
Do your product give us the facility to color the text of one cell of the grid with
different colors.E.g: Say text in one cell is "Hello World". Can we color
Hello in Red and World in Blue.
If Yes, how can we do it?
If no,do you any other product which will solve our purpose?
Regards,
Rasik
DJDaniel Jebaraj Syncfusion Team December 1, 2003 11:36 AM UTC
Hi Rasik,
Sure, you can do that with the Rich Text cell type. Also, take a look at the xhtml sample. It allows for simple formatting to be applied to the Rich Text cell using xhtml instead of RTF.
Best regards,
Daniel
ADAdministrator Syncfusion Team February 2, 2004 07:47 PM UTC
Can this be done using the GridBoundDataGrid?
>Hi Rasik,
>
>Sure, you can do that with the Rich Text cell type. Also, take a look at the xhtml sample. It allows for simple formatting to be applied to the Rich Text cell using xhtml instead of RTF.
>
>Best regards,
>Daniel
ADAdministrator Syncfusion Team February 3, 2004 10:49 PM UTC
Yes, but some coding is required on your side.
Take a look at the GDBGMultiHeader sample. This shows how you can override QueryCellInfo to provide style information for individual cells.
In this event handler you can set the cell type to be richtext and provide the text from the underlying datasource and convert it into rtf.
Stefan