Column Sizing

2 posts, 0 answers
  1. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 11 Jul 2013 Link to this post


    As you can see in the demo:

    When you size one column, the other columns are also adjusted... Even when I state a fixed width (40px ie) and state that the column is not sizeable, and state the min and max size at 40px, it still gets sized when i size an other column... how can I make a column stay 40px??

  2. Deyan Enchev
    Deyan Enchev avatar
    60 posts

    Posted 15 Jul 2013 Link to this post

    Hello Erik,

    When using RadTreeList columns there are several resize modes available for you to pick.

    I guess you are using the first ResizeMode we support – “NoScroll” (the default one for the demo). In case you select NoScroll mode and decide to resize a column in the TreeList, the size of the other columns will be changed in order for the TreeList to keep its original width. This is expected behavior and is explained in the Description section of the demo. Here is a short quote:

    "- NoScroll (this is the default value) - No changes in the width of the TreeList. The resized column changes width - while the other columns are squeezed at the two ends."

    As a summary - when in NoScroll mode, in order to size the columns properly without breaking the TreeList layout, RadTreeList automatically clears the predefined width of the columns that are on the right of the resized column. In case you want to have columns with fixed sizes you should pick one of the other resize modes available for the TreeList: AllowScroll or ResizeTreeList

    Here is a link to our online documentation article where you can explore the various column resize methods and restrictions.

    Deyan Enchev
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top