Is it possible for me to have a WinComboEditor in one column of my Grid? I need to provide a Drop Down List of values for users to select from?
Many thanksJason
Hi Jason,
Yes... but it's better to use an UltraDropDown, instead. What you do is put the UltraDropDown control on your form and bind it just like you would the UltraCombo. Set the ValueMember (and possibly the DisplayMember).
Then what you do is set the ValueList property of the column in the grid to the UltraDropDown control. I would recommend doing this in the InitializeLayout event of the grid.
Mike Saltzman"] Yes... but it's better to use an UltraDropDown, instead. What you do is put the UltraDropDown control on your form and bind it just like you would the UltraCombo. Set the ValueMember (and possibly the DisplayMember). Then what you do is set the ValueList property of the column in the grid to the UltraDropDown control. I would recommend doing this in the InitializeLayout event of the grid.
After reading your post, I switched to UltraDropDown and everything seems to work fine now. I am new user evaluating Infragisitics control and in my mind it doesn't make much sense to have 2 types of the same control(UltraCombo & UltraDropDown) on a form, where only one works well on UltraGrid. Ideally, I would have liked to use UltraCombo where the same component is used both on the UltraGrid and the form. Again, I am a new user and there might be big difference between these components I am not aware of.
The UltraCombo is a standalone control. It has two parts, a list and a text portion. So the user can type into it.
The UltraDropDown is not a standalone control. It has no text portion. So if you want to provide a dropdown in a grid, it's more efficient to use UltraDropDown, since you don't need to have a text portion of a control that isn't being used.
In terms of working with the grid cell, the UltraCombo can also be used in a grid cell, it's just a little less efficient, because it has that extra part of the control (the text portion) that will just be going to waste.