We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

unable to resize drop down grid

Thread ID:





67352 Aug 15,2007 10:34 AM UTC Jun 8,2010 12:38 PM UTC WinForms 2
Tags: GridControl
Vinod Shenoy
Asked On August 15, 2007 10:34 AM UTC

I am having a control where I am using DropDownGrid cell and on click of the drop down I am opening a new grid by overriding DropDownContainerShowingDropDown method.

When I try to resize the child grid, it disappears. If on the other hand I select a cell in the child grid and then resize it, then it works.

Any ideas what is wrong?
the following properties of the child grid are set:
grdAllocations.Model.ReadOnly = true;
grdAllocations.Model.Options.ListBoxSelectionMode = SelectionMode.MultiExtended;
grdAllocations.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left;
grdAllocations.AllowSelection |= GridSelectionFlags.AlphaBlend;
grdAllocations.AllowResizeToFit = false;
grdAllocations.PrepareViewStyleInfo += new GridPrepareViewStyleInfoEventHandler(grd_PrepareViewStyleInfo);
grdAllocations.CellDoubleClick += new GridCellClickEventHandler(grdTradeView_DoubleClick);
grdAllocations.PushButtonClick += new GridCellPushButtonClickEventHandler(grdTradeView_PushButtonClick);

Meera Fathima [Syncfusion]
Replied On August 18, 2007 06:58 AM UTC

Hello Vinod,

Thanks for your interest in Syncfusion products.

I have tried your condition that you have mentioned here in the Grid.Windows\Samples\2.0\DataBound\GDBGwithDropGrids sample by including the code snippet that you have sent for the child grid. And I was not able to reproduce the issue. The child grid gets resized without any problem.

I have attached the sample that I have used for testing with this post. You can get the sample in the following link - http://websamples.syncfusion.com/samples/Grid.Windows/F67352/main.htm

I am also sending you the video clip for your reference - http://www.syncfusion.com/Support/user/uploads/F67352_f6cc1092.zip.

Please look into the above details and modify the sample to reproduce the issue if you still finds any issue with this. Dont hesitate to contact us if you have any questions. We will be glad to assist you.

Best Regards,

Syncfusion, Inc.

Donnamay Cruz
Replied On June 8, 2010 12:38 PM UTC

I am using the DropDownGrid control from the sample, version is

How do I force the size of this DropDownGrid control so that it would have the same width as the cell it was expanded from. I saw a sample using DropDownContainerShowingDropDown method but it was resizing the control based on parent grid.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon