I have a grid which contains two UltraDropDowns. I bind the same datatable to both of the dropdowns. The datatable contains two columns, Code and Description.
For the first dropdown I set the ValueMember = Code and DisplayMember = Code. I am showing both the code and description when the list is dropped down.
For the second dropdown I set the ValueMember = Description and DisplayMember = Description. I am showing both the code and description when the list is dropped down.
This issue is that for the second dropdown I want the description to display first in the list and the code second. Is it possible to reorder the columns in the valuelist? If so, how?
Thanks.
Bill
Hi Bill,
Yes, you do this the same way you would in an UltraWinGrid. Handle the InitializeLayout event and set the column.Header.VisiblePosition property on the columns to the order you want.