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
155
Hide value member when showing UltraDropDown in WinGrid
posted

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

 

 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    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; 

Children