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

Setting width in first column causes column to shrink when loaded

1 Answer 31 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Jarred Froman
Top achievements
Rank 1
Jarred Froman asked on 24 Mar 2011, 06:25 PM

Column sizes behave erratically when setting the width on a column, particularly the first column.  When we set the width on the very first column, it is barely visible... however if you try to resize it, it will expand out.  Also, any other subsequent columns that have a width will also behave weirdly.  Below is a simple example that demonstrates the problem:

<Controls3:RadTreeListView x:Name="FinancialGrid" Grid.Row="1" AutoGenerateColumns="False"
                 ItemsSource="{Binding LineItemsSource, Mode=OneWay}">
    <Controls3:RadTreeListView.Columns>
        <Controls3:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" Width="300" />
        <Controls3:GridViewDataColumn DataMemberBinding="{Binding Data2}" Header="Header2" />
        <Controls3:GridViewDataColumn DataMemberBinding="{Binding Data3}" Header="Header3" />
    </Controls3:RadTreeListView.Columns>
</Controls3:RadTreeListView>

As mentioned before, we are going to release very shortly.  If there is a workaround to fixing this issue, please let us know.

Also, I tried submitting this as a support ticket, but it wouldn't let me saying "Message cannot be empty" under the 'Your message' box.

Thanks,
-Jarred Froman

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 30 Mar 2011, 08:16 AM
Hello Jarred,

 I've tried this with our latest official release (Q1 2011) however everything worked as expected. I've attached an example project for reference. Can you try again to submit ticket with a project where we can reproduce the problem?

Regards,
Vlad
the Telerik team
Tags
TreeListView
Asked by
Jarred Froman
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or