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

Header scrolling

4 Answers 82 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Simon Bishop
Top achievements
Rank 1
Simon Bishop asked on 15 Feb 2010, 11:09 AM
Hi,

I am working with the CTP of the TreeListView and have a problem with the header not scrolling correctly.  I created a TreeListView with a number of columns.  When I resize the window so that the horizontal scrollbar becomes visible in the TreeListView, the scrollbar will scroll the data columns but not the headers.  This means the headers and columns don't always line up which is confusing for the users. 

Is this a known issue and if so is there a workaround?  Any suggestions would be appreciated.

Cheers,
Simon.

4 Answers, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 15 Feb 2010, 03:16 PM
Hello Simon,

Thank you for your feedback. We are aware of this issue and we are working on fixing it. Unfortunately I cannot confirm that a fix will be available by the end of this Q.

Greetings,
Kiril Stanoev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Alicja
Top achievements
Rank 1
answered on 24 Feb 2010, 01:06 AM

Hi,
Could try this workaround for now.
Add ScrollViewer around TreeList; disable Horizontal ScrolViewer in the TreeList.



<ScrollViewer x:Name="sbHeader" VerticalScrollBarVisibility="Disabled" Padding="0" HorizontalScrollBarVisibility="Auto" > 
    <telerikNavigation:RadTreeListView x:Name="TreeList" Background="White" ScrollViewer.HorizontalScrollBarVisibility="Disabled"      
                                                           IsLineEnabled="True">  
     <telerikNavigation:RadTreeListView.Columns> 
      <telerikNavigation:RadColumn MinWidth="300"   
         CellTemplate="{StaticResource ItemTemplate}" PropertyName="Name" Header="Header 1"/>  
 
       <telerikNavigation:RadColumn Header="Header 2" > 
         <telerikNavigation:RadColumn.CellTemplate> 
            <DataTemplate> 
               <TextBlock Text="{Binding Name}"/>  
            </DataTemplate>      
         </telerikNavigation:RadColumn.CellTemplate> 
      </telerikNavigation:RadColumn> 
   </telerikNavigation:RadTreeListView.Columns> 
 </telerikNavigation:RadTreeListView> 
</ScrollViewer> 
0
Pandit Prerna
Top achievements
Rank 1
answered on 01 Dec 2010, 03:59 PM
I am facing a similar problem. I am unable to use the mousewheel to scroll the datacolumns. I tried the workaround of adding a ScrollViewer as am able to use the Mouse to scroll.  However, the Headers are not visible and it remains confusing for the users.

Can you please let me know if there is a fix available in later releases?

Thanks a lot
0
Vlad
Telerik team
answered on 01 Dec 2010, 04:13 PM
Hello,

 This thread is related to our CTP version of RadTreeListView which is discontinued. Our new RadTreeListView is based on RadGridView - you can check our latest demos here

Kind regards,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
TreeListView
Asked by
Simon Bishop
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Alicja
Top achievements
Rank 1
Pandit Prerna
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or