I'm currently using the 2013.2 version. Below is a simplified version of my code.
In my FormLoad event:
UltraCombo1.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDown
UltraCombo1.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.SuggestAppend
UltraCombo1.ValueMember = "StateAbbr"
UltraCombo1.DisplayMember = "StateAbbr" 'this is not a typo
UltraCombo1.AlwaysInEditMode = True
UltraCombo1.DataSource = (some dataset object)
UltraGrid1.DataSource = (some other dataset object)
In my grid_initializeLayout():
e.Layout.Bands(0).Columns("State").EditorComponent = UltraCombo1
When I run my app, the grid shows properly and the "State" column correctly shows the UltraCombo control. When I start typing, the UltraCombo control correctly suggests and appends items. My only problem is the UltraCombo doesn't show the dropdown when I'm typing in it.
When I comment out the following line, the same UltraCombo works as expected -- it opens the dropdown as soon as I start typing in it.
I tried to handle the KeyDown event of the UltraCombo as well as the UltraGrid as suggested in the article below. But I can't seem to make the UltraCombo show the dropdown list.
http://es.infragistics.com/community/forums/p/22721/83170.aspx#83170
Please help!
Hello Ed,
Thank you for posting in our forum.
When you set UltraCombo as column’s EditorComponent you are using combo to visualize the data. The Style, AutocompleteMode and so on properties you should set on the column and not to the UltraCombo. So change your InitializeLayout event like this:
Dim stateColumn As UltraGridColumn = e.Layout.Bands(0).Columns("State")
stateColumn.EditorComponent = Me.UltraCombo1 stateColumn.Style = ColumnStyle.DropDown stateColumn.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.SuggestAppend
stateColumn.Style = ColumnStyle.DropDown
stateColumn.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.SuggestAppend
Please check the attached sample project where I have implement this approach and let me know if you need any additional information.
Thank you for using Infragistics Components.