I have xamDataGrid bound to a table's defaultview.
In this table I have a field 'type' as an int.
I don't want to show 'type' as an int. I want to show the type description. This description is in another table based on original int type.
How do I accomplish this?
Hello,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Thank you very much for your response.
I forgot to say that the datagrid is read only. I have solved the problem like that:
I hide (collapse) the original databound field ID. I create an unbound field where I show de description. I obtain de description and populate de unbound field in the InitializeRecord event. Since the Types table (from I obtain the description) is indexed by ID, the process seems very efficient.
Nonetheless, if there are better ways to do this, I would be delighted with in knowing them. I'm a beginner with Infragistics controls.
Create a XamComboEditor for the field that matches the source value (the type ID) to the display value (the type description)