The main table contains a foreign key to a lookup table which has the display text. Now do I go about setting up the UltraGrid to use the text from the lookup table rather then displaying the foreign key?
Hi Oki,
To which column are you referring? The second column of the grid or the second column of the dropdown.
The dropdown is populated with data source that includes both the data value and the display text.
The grid only needs to have a column with the data values in it. It would be redundant for the grid to also have a separate column showing the display text.
Hello Mike,
i have looked your sample application but i have any question, how if the field CustomerName display in the separate column ?
Thanks for your help
Thanks
Oki
Hello Sam,You can either assign a ValueList or use a DropDown Control in the Ultragrid Column to display the text. The ValueList or DropDown will also provide the user the ability to make a selection from the available items in the list.I have attached a basic sample to demonstrate how to create and assign a ValueList to an UltraGrid Column. The following URL links to our Online Documentation for information on assigning and using a DropDown in an UltraGrid Column:Using WinDropDown inside WinGrid<http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.2/CLR2.0/html/WinGrid_Using_WinDropDown_inside_WinGrid.html>Please take a look at the attached sample application and the information found in the above link. If you have any questions, let me know and I will be happy to assist you.Thank you.Sincerely,Mike D.Developer Support EngineerInfragistics, Inc.