Hello,
How can I put a combobox into Wingrid cell?
Thanks
I was able to accomplish this by adding a ultracombo box to my form and then setting the grid cell Style to DropDown and the Valuelist to the ultracombo. I have a dynamically built grid so I do this in the grid's InitializeRow event, but I would suspect it could also be set at design time.
row.Cells[intCell].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownValidate;row.Cells[intCell].ValueList = this.ucMyUltraCombo;
This will work, but it's more efficient to use UltraDropDown, rather than UltraCombo.
Please explain? The ultracombo appears to be a might lighter control.
Any thoughts?
UltraCombo is intended to be used as a standalone control on a form. It has a dropdown portion and a text portion. If you are using it in a grid, then the text portion of the control is not used, since you are using the grid cell as the text portion.
UltraDropDown is specifally designed as a dropdown to be used in a grid cell. It can't be used as a standalone control and it has no text portion.