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

Horizontal Scrollbar in Grid not showing

1 Answer 151 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Anton Swanevelder
Top achievements
Rank 2
Anton Swanevelder asked on 08 Jul 2010, 05:25 PM
Hi,

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

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 09 Jul 2010, 06:51 AM
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,
Milan
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
Tags
GridView
Asked by
Anton Swanevelder
Top achievements
Rank 2
Answers by
Milan
Telerik team
Share this question
or