6 Answers, 1 is accepted
0
Hi,
Vlad
the Telerik team
The grid will show the horizontal scrollbar automatically when you have enough columns to scroll.
Best wishes,Vlad
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
Narendra
Top achievements
Rank 1
answered on 09 Aug 2010, 09:43 AM
how can control the horizantal scrool behavior. some times i dont want to show the scrool bar.
Is there any property which controls the behavior for horizantal scroolbar?
Thanks,
-Narendra
Is there any property which controls the behavior for horizantal scroolbar?
Thanks,
-Narendra
0
Hello,
Vlad
the Telerik team
You can use ScrollViewer.HorizontalScrollBarVisibility attached property for the grid. For example:
<telerik:RadGridView ItemsSource="{Binding}" ScrollViewer.HorizontalScrollBarVisibility="Hidden" />
Vlad
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
Narendra
Top achievements
Rank 1
answered on 09 Aug 2010, 10:13 AM
Thanks for the instant response.
Can you tell me, how can do the same in code behind file i.e. .CS file?
Thanks,
-Narendra
Can you tell me, how can do the same in code behind file i.e. .CS file?
Thanks,
-Narendra
0
Accepted
Hello ,
Vlad
the Telerik team
You can set this like any other attached property:
RadGridView1.SetValue(ScrollViewer.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Visible);
Vlad
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
Narendra
Top achievements
Rank 1
answered on 09 Aug 2010, 12:31 PM
Thanks, it worked like a magic.