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

how to resize the dropdown column width of MultiColumn ComboBox?

Thread ID:

Created:

Updated:

Platform:

Replies:

80288 Mar 27,2009 05:11 AM UTC Nov 26,2012 01:12 PM UTC WinForms 5
loading
Tags: Tools
David Cui
Asked On March 27, 2009 05:11 AM UTC


how to resize the dropdown column width of MultiColumn ComboBox? at runtime, when user put cursor btw. two columns.
thx.

david


Fathima Shalini P [Syncfusion]
Replied On March 27, 2009 09:52 AM UTC

Hi David,

Thank you for your interest in Syncfusion Products.

At present it is not possible to resize the column and the rows in the dropdown using mouse. But we can resize the column width using ColWidths and RowHeights properties of the embedded grid in the MultiColumnComboBox.ListBox. Please refer to the KB provided below that ilustrates this:

http://www.syncfusion.com/support/kb/tools/Default.aspx?ToDo=view&questId=953

Please let me know if any concerns.

Regards,
Fathima


Robert Kellner
Replied On May 11, 2012 09:13 AM UTC

the link doesn't work...



Arun A [Syncfusion]
Replied On May 15, 2012 07:32 AM UTC

Hi Robert,

Thanks for the update.

Please download the sample in from the following link.

http://www.syncfusion.com/downloads/Support/DirectTrac/93704/multicolumnCombobox1041302391.zip

Please let us know if you have any concerns.

Regards,
Arun

Eric Robishaw
Replied On November 16, 2012 08:17 PM UTC

This sample does NOT show how to change column widths.

Please update the sample to show how to get to the underlying datagrid and change the column widths


Chandran R [Syncfusion]
Replied On November 26, 2012 01:12 PM UTC

Hi Eric ,

 

Thanks for the update.

 

You can achieve your requirement by using the below code snippet,

 

[c#]

 

private void multiColumnBoundCombo_DropDown(object sender, EventArgs e)

        {

            this.multiColumnComboBox1.ListBox.Grid.Model.ColWidths[1] = 120;

            this.multiColumnComboBox1.ListBox.Grid.Model.ColWidths[2] = 120;

           

        }

I have attached the sample as per your requirements in the following link. Please run the sample and let us know if it helps you.

 

[sample link]

 

http://www.syncfusion.com/downloads/Support/DirectTrac/101433/Sample-2048059520812141350.zip

 

Please let us know if you need any other details.

 

Regards,

 

Chandran R


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.

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

;