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
150
Custom Cell "text"
posted

Hi,

We want to provide a custom representation for a particular column.
Our real life case is much more complicated than that, but we are giving a simplified scenario here.

 The underlying DataTable is shared by various controls.
Column A contains values. We do not want to just display those values in the cell.
We want to perform some custom lookup operation and build a string representation for that value.

What Event or Method can we listen to/call to set the displayed value (withouth changing the underlying data value)?

We looked around, but for a cell, the Text value is read-only and the Value property updates the underlying data.

I believe most controls have a Parse/Format method/event that allows for those things. I just can't seem to find it in the IG doc.

Regards,

Eric.

Parents
No Data
Reply
  • 37774
    posted

     Eric,

    You'll probably want to look into using a DataFilter, which will let you show whatever you want for a particular value.  This KB Article will give you a basic overview of using the DataFilter to converting your data.

    -Matt

Children
No Data