Hi,
My problem is the following :
I need to use a custom cell in my grid with a combobox and a button. So I create an UltraPanel programatically with one UltraComboEditor and one UltraButton.
But this combobox doesn't have the same behavior as basic dropdown cell. Even if I use: myComboBox.DropDownButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.OnMouseEnter; when my mouse moves over this custom cell, the dropdown button of the combobox doesn't appear.
Do you have a solution?
Thanks
Regards,
Dorine
Hi Dorine,
There's no way to do this. When you embed a control inside the grid using the UltraControlContainerEditor, the cells that are not in edit mode are simply drawing an image or your RenderingControl. There's no real control there, so it will never be UI interactive until you put the cell into edit mode.
The best you could do in a case like this is to make the dropdown button visible all the time.
Or... if all you need is an UltraComboEditor and a button, then why don't you use an actual UltraComboEditor and add a button to it's ButtonsLeft or ButtonsRight collection. Then you could use that are your column's EditorComponent instead of the UltraControlContainerEditor.