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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do I write text in a datagrid cell with different font styles?

Thread ID:

Created:

Platform:

Replies:

502 Jul 1,2002 12:48 PM UTC WinForms 0
loading
Tags: FAQ
Administrator [Syncfusion]
Asked On July 1, 2002 12:48 PM UTC

How do I write text in a datagrid cell with different font styles? I want to change the FontStyle of only a few words in a cell of my DataGrid. Say I have a column called 'Item Description' in my DataTable. The DataTable is written in such a way that some of the Cells in this column have a few words enclosed in brackets, which means the enclosed text should be in italics (for example: "this item is really neat so [buy it now]", should convert to: "this item is really neat so buy it now", where 'buy it now' is in italics). How would I do this? I only know how to change the string in an individual cell, but I don't know how would I change the FontStyle of only one single part of the string in a given cell. Thanks a lot for your help.

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.

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

;