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
105
Hiding the value of a cell
posted

Hi,

I have a column that has 4 different status values.  Based on the value of each cell, I want to display a certain image.  However, I don't want the text value to be displayed.  I thought of just having two columns to achieve this, but I want to have a value in the image column to allow for proper sorting.  Is there anyway that I can retain a cell's value, but display an image while hiding the text?

 Thanks,

Jake

Parents
  • 2334
    posted

    Actually, if you want to display the image in the bound cell and retain the value you could set the Cell.Appearance.Image to the appropriate image.  Then set the CellAppearance.ForegroundAlpha = Transparent.  This will cause the text to be transparent, effectively only showing the image while retaining the value for sorting purposes.

     

Reply Children