ComboDropDown PopupContainer

Hello.

I have a simple problem at hand. I want to attach GridGroupingControl to ComboDropDown which works. However, GGC is much wider than ComboBox and upon opening dropdown I see that PopupControl.Size.Width is set to ComboBox width. I can see a portion of Grid.

Can I change this behaviour? I want to see the whole GridGroupingControl.

Thanks in advance.

1 Reply

GR Golda Rebecal Syncfusion Team January 26, 2007 06:33 AM UTC

Hi,

We can change the size of the PopupContainer to that of the GridGroupingControl in the BeforePopup event of the Popupcontainer.

void PopupContainer_BeforePopup(object sender, CancelEventArgs e)
{
this.comboDropDown1.PopupContainer.Width = gridGroupingControl1.Width;
}

Please have a look at the sample attached and let me know if you need any further assistance.

Thanks for your interest in Syncfusion products.

Regards,
Golda

combodropdown0.zip

Loader.
Up arrow icon