4 Answers, 1 is accepted
0
Accepted
Hello Chris,
Here is an example how to hide the grid vertical scrollbar:
...
xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
xmlns:systemWindows="clr-namespace:System.Windows.Controls;assembly=System.Windows"
....
<telerikGrid:RadGridView systemWindows:ScrollViewer.VerticalScrollBarVisibility="Hidden" ...
...
You can check also my blog post for more info about possible custom scrolling approach.
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.
Here is an example how to hide the grid vertical scrollbar:
...
xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
xmlns:systemWindows="clr-namespace:System.Windows.Controls;assembly=System.Windows"
....
<telerikGrid:RadGridView systemWindows:ScrollViewer.VerticalScrollBarVisibility="Hidden" ...
...
You can check also my blog post for more info about possible custom scrolling approach.
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
cbondeson
Top achievements
Rank 1
answered on 25 Feb 2010, 05:39 PM
Thank you that is what I needed though now I have a different issue: the headers for my grids are not wrapping even though I have set the TextWrapping to Wrap. Do you have to set the width of the column to make the header text wrap? I was hoping that it would try to shrink the columns as small as it could if I disabled the scrolling. Do you have any other suggestions?
0
Accepted
Hello Chris,
In this case you do not need to set VerticalScrollBarVisibility - you can use Width="*" for some of your columns (or ColumnWidth="*" for the entire grid) similar to this demo:
http://demos.telerik.com/silverlight/#GridView/Totals
All the best,
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.
In this case you do not need to set VerticalScrollBarVisibility - you can use Width="*" for some of your columns (or ColumnWidth="*" for the entire grid) similar to this demo:
http://demos.telerik.com/silverlight/#GridView/Totals
All the best,
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
cbondeson
Top achievements
Rank 1
answered on 02 Mar 2010, 11:58 PM
Thank you that answers my question though setting the ColumnWidth did not work I has to set the Width directly on the column for it to take effect.
