Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
How to display some part of the text in a cell with underline in a grid?
posted

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. 

 

Parents
  • 455
    posted

    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

Reply Children