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.

setting minimum width of columns when using TreeColumAdv()

Thread ID:

Created:

Updated:

Platform:

Replies:

100284 Jul 21,2011 08:23 PM Jul 25,2011 08:31 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Mouna
Asked On July 21, 2011 08:23 PM

I am setting up a treeview ...

here is example code for the columns :

var colFullRowCode = new TreeColumnAdv();
colFullRowCode.Text = "Fullrow"
colFullRowCode.Width = 200;

How do i set the minimum width the colums can resized to, as currently if i resize it, it is too small amd it is hard to bring it back again.

Thanks


Iniyen M A [Syncfusion]
Replied On July 25, 2011 08:31 AM

Hi Mouna,

Thanks for your interest in Syncfusion products.

We do not have support to set Minimum and Maximum size for the column width. But You can achieve your requirement by using the following code snippet on MultiColumnTreeView's ColumnResized event. For more information i have included the sample as follows.

[Code Snippet]
this.multiColumnTreeView1.Columns.VisibleColumns[0].Width = 120;

[Sample]
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=TreeColumnAdv2842131582210.zip

Kindly have a look on the above sample and Please let us know if you need further assistance.

Regards,
Iniyen M.A.



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.

;