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

Change Width for Cell's Dropdown that is bound to an enumeration to be the same as the column width

Thread ID:





108584 Apr 30,2013 12:49 PM UTC May 3,2013 05:08 AM UTC WinForms 1
Tags: FAQ
Matthew Edwards
Asked On April 30, 2013 12:49 PM UTC

I want my dropdown to be the same width as the column, currently the width appears to be defined by the length of the text.  Currently my GGC is bound to a DataTable where the columns that have dropdowns are Enums.  How do I do this?

As an aside, I have other custom controls that I can change the width by updating the DropDownContainer.Size within DropDownContainerShowingDropDown method, but I'd rather not make new custom controls just to stretch width.  (so I guess I'm looking for some sort of auto size property).

Arun Kumar V [Syncfusion]
Replied On May 3, 2013 05:08 AM UTC

Hi Mathew,

Thanks for your interest in Syncfusion products.

Thanks for providing better information. Please let us know the version you are currently using, so that I will check and provide you a sample in that version.

Please let me know if you have any additional concerns.




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

or the page will be automatically redirected to 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