Hi,
I need to display some part of the text in a cell with underline in a grid.
I am attaching the image for an example.
Hello,
To make it look like a web link I do this.
e.Layout.Bands[0].Columns[columnName].CellAppearance.FontData.Underline = Infragistics.Win.DefaultableBoolean.True;
e.Layout.Bands[0].Columns[columnName].CellAppearance.ForeColor = Color.Blue;
e.Layout.Bands[0].Columns[columnName].CellAppearance.Cursor = Cursors.Hand;
The only think I don't like is that the cursor changes to a hand when you enter the cell and not just when you are over the text. I am going to look at making that happen later.
Hope this helps.
Kris
If you want to make the contents of a cell look and act like a URL, set the Style of the column to URL. :)