Hi all,
I just stumbled into the following problem.In my UltraWinGrid I assigned an UltraComboEditor to a column as EditorComponent.The UltraComboEditor is bound to a ValueList via its ValueList property. Its DropDownStyle is set to DropDownList.
Now if I try to edit the cell the UltraComboEditor is shown, but it is editable (I can actually type something) which leads to errors when typing something that is not part of the ValueList.
I just want the user to select from the list, not actually type some text that I then have to validate...
The exactly same setup works if the UltraComboEditor is placed on the form -> not editable...
Is that possible or am I missing something?
Any help is kindly appreciated,best regardsAndy
Hello Andy,
What you are missing might be setting the grid column style to DropDownList, so please try out the following:
ultraGrid1.DisplayLayout.Bands[0].Columns[0].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList;
Let me know if it solves your issue.
Hi Boris,
good hearing from you ;)
Actually you were right, I missed the Style property of the cell.I changed it as you suggested and it's perfectly fine now.
Thanks a lot for your great support,cheersAndy