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

setting minimum width of columns when using TreeColumAdv()

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 12:31 PM UTC

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.

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

;