This is a migrated thread and some comments may be shown as answers.

Column width reinitialized on collapse/expand

1 Answer 67 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Damien
Top achievements
Rank 1
Damien asked on 14 Feb 2013, 08:34 AM
Hello,

I use a TreeList with autogenerated columns. I allow the column resize.
<telerik:RadTreeList runat="server" ID="RadTreeList1"
                                                        Skin="Telerik"
                                                        AutoGenerateColumns="true"
                                                        DataKeyNames="DataKey" ParentDataKeyNames="ParentDataKey"
                                                        AllowSorting="true"
                                                        ItemStyle-CssClass="RowStyle"
                                                        AlternatingItemStyle-CssClass="AlternatingRowStyle"
                                                        HeaderStyle-CssClass="HeaderStyle"
                                                        SelectedItemStyle-CssClass="SelectedRowStyle"
                                                        OnAutoGeneratedColumnCreated="RadTreeList1_OnColumnCreated"
                                                        Visible="false"
                                                        >
                                        <ClientSettings>
                                           <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                                           <Resizing AllowColumnResize="true" ResizeMode="NoScroll" />
                                        </ClientSettings>
 
                                   </telerik:RadTreeList>


So the final user can resize the columns, but, if he expands or collapses a node, the column widths are reinitialized.
How could I keep the width modifications.
Thanks by advance.
Regards,
Damien

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 19 Feb 2013, 09:52 AM
Hi Damien,

After a thorough investigation, our developers came to the conclusion that this behavior is a bug. You could track the process in our Ideas & Feedback portal. Note that this behavior is observed only when AutoGenerateColumns property is set to true. As a work around you could manually implement your columns and disable auto generated columns.
Additionally I updated your account with Telerik points.

Regards,
Kostadin
the Telerik team
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 their blog feed now.
Tags
TreeList
Asked by
Damien
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or