Hi,
When I use an UltraDropDown as a cell so the user can select from a list rather than type directly into the cell, the UltraDropDown shows both the value member and the display text. I only want the user the see the display text. Therefore how can I stop the value member from displaying. (I thought thats why you had the display text!!??)
Hope someone can show me the error of my ways
Thanks
It sounds like you are looking for the ValueMember and DisplayMember properties. This has nothing to do with hiding columns.
If I have 4 columns in datasource, this requires me to write code to hide rest of the columns. This seems wrong. I should be able to tell what Text binds to and what value Binds to. Is there another control for this?
You can hide columns in the UltraDropDown the same way you would in an UltraWinGrid.
Use the InitializeLayout eent and do something like this:
e.Layout.Bands[0].Columns["My ValueMember Column"].Hidden = true;