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
430
replacing a column value with an image
posted

what is the best way to translate a particular column value (integer in this case) to an image?  So for example, if the col value is 1, the image displayed in the col is image1.png, if the col value is 2, the image displayed in the col is image2.png, etc.

Thanks in advance

Parents
No Data
Reply
  • 490
    Suggested Answer
    posted

    Another possibility is to set the background image of the cell to the image you want.  I am currently doing this with a column that is defined as an integer.  I set the column style to an image, which hides the text.  Then in the InitializeRow event you can set the background image for each cell in your image column.  Take a look at this post.  Mike helped me work through it. http://forums.infragistics.com/forums/t/38404.aspx

Children