Horizontal Scrollbar in Grid not showing

2 posts, 0 answers
  1. Anton Swanevelder
    Anton Swanevelder avatar
    28 posts
    Member since:
    Aug 2008

    Posted 08 Jul 2010 Link to this post


    I am unable to get my Grid to scroll horizontal.

    Looking for the magic property that enables this, any idea where that is?

    Here is my grid open tag markup:

    <telerik:GridViewDataControl x:Name="dgOrders" ItemsSource="{Binding Data, ElementName=orderDetailDomainDataSource}" HorizontalAlignment="Center" VerticalAlignment="Center" AutoGenerateColumns="False" MinHeight="300" IsReadOnly="True" HeaderRowStyle="{StaticResource GridViewHeaderRowStyle1}" AlternateRowBackground="{StaticResource GridView_SortIndicatorColor}" GroupPanelItemStyle="{StaticResource GridViewGroupPanelItemStyle1}" CanUserDeleteRows="False" CanUserInsertRows="False" Width="760" ScrollViewer.HorizontalScrollBarVisibility="Visible"  >

    Thanks in advance
  2. Milan
    Milan avatar
    1989 posts

    Posted 09 Jul 2010 Link to this post

    Hello Anton,

    Horizontal scrollbar should appear automatically when there is not enough space for the contents of the grid. Still, if the grid is measure with infinite width the horizontal scrollbar will not appear. Is the grid placed in a scrollbar or another container that might be measuring it with infinity? 

    Best wishes,
    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
Back to Top