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.
Unfortunately, activation email could not send to your email. Please try again.

unable to resize drop down grid

Thread ID:

Created:

Updated:

Platform:

Replies:

67352 Aug 15,2007 06:34 AM Jun 8,2010 08:38 AM Windows Forms 2
loading
Tags: GridControl
Vinod Shenoy
Asked On August 15, 2007 06:34 AM

Hi,
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 02:58 AM


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,
Meera.

Syncfusion, Inc.
http://www.syncfusion.com/

Donnamay Cruz
Replied On June 8, 2010 08:38 AM

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

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.

CONFIRMATION

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.

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.

;