We help IT Professionals succeed at work.

Rich Content in a DataGridView Control

fbk2000
fbk2000 asked
on
I have a bound DataGridView with two columns of text and I need to bold substrings within the strings in each cell.  How can I bold, color or otherwise modify portions of strings held in datagridview cells?
Comment
Watch Question

IT Pro/Developer
BRONZE EXPERT
Top Expert 2008
Commented:
Hi,

You have to implement a DataGridViewRichTextCell. Have a look on this example from TheLearnedOne: https://filedb.experts-exchange.com/incoming/ee-stuff/3881-Prototype.DataGridView.zip

It's in VB but I think you can do it in C#

jpaulino

Explore More ContentExplore courses, solutions, and other research materials related to this topic.