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
2715
Column value list should only be drop down
posted

Hi!

I have a grid with a column to whom i assign a value list. 

At runtime, i get the drop down as expected but it also allows me to write in new values, instead of only letting me pick the loaded ones.

How could i implement this behaviour ?

 

Thank you!

Parents
  • 20872
    Offline posted

    Hello Mismar,

    What you could try is setting the style of the given column to be DropDownList like:

     ultraGrid1.DisplayLayout.Bands[0].Columns["Desired Column Key Here"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList;

    Please let me know if this is what you are looking for here.

Reply Children
No Data