Hyperlink in DataGridView - how to have text and links?

Is it possible to have a Windows Forms DataGridView in which one of the columns will display standard text with some words from it as clickable links? Here's what I would like to do: whenever I get a certain regex text in the text, I want it to match the hyperlink.

Any idea on how to implement this?

thanks

+1


a source to share


1 answer


Okay, to do what you want to do, I think you need a custom control that comes from the IDataGridViewEditingControl interface, which can then be hooked up to your DataGridView. This article shows you how to do this with the RichTextBox.



Unfortunately, I don't think there is a dropdown solution, unless you want to be involved in a commercial activity. Infragistics has a WinGrid with which they claim you can hook up a WinFormattedTextEditor that supports hyperlinks.

+3


a source







All Articles