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
515
Getting cell value when sorting by another column...
posted

Hi All

I have a WinGrid with a status column that displays an image based on the value in another column. I have used the following information for the sorting of the image column:

http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=7695

My challenge now, is that I'm writing a custom function to copy the grid data to the clipboard. When I try to get the value of one of the cells in the image column, it is, of course, "System.Drawing.Image".

Is there some way I can interrogate the columns' SortComparer and find out what the value column is so I can get the value of that cell? Or some other way I can handle this?

Thanks in advance!

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    I'm a little confused by your question. I assume if you are copying the grid data to the clipboard, you are looping through the grid rows. In such a case, why don't you simply ignore the image column and use the real data columns value?