This question is locked. New answers and comments are not allowed.
Hi,
I have a RadGridView that has more columns that can be displayed when I set the RadGridView 's width to a small value such as 200. However, the horizontal scroll bar appears or does not work. I have tried setting the scrollViewer.HorizontalScrollBarVisibility="Visible" and = "Auto". When I set it to "Visible" the scroll bar does appear, but there is no slider.
Any ideas on why this occurring? I need to restrict the width of the grid.
Here is the definition of the RadGridView . All columns are dynamically added to the RadGridView in code. The RadGridView resides on a grid where the left column is a tree control, the center column is a GridSplitter, and the right is the RadGridView .
<telerikGridView:RadGridView x:Name="gridSAR" dragDrop:RadDragAndDropManager.AllowDrop="True" Loaded="gridSAR_Loaded"
AutoGenerateColumns="False" ShowGroupPanel="false" RowIndicatorVisibility="Collapsed" CanUserSortColumns="True"
HorizontalAlignment="Left" MaxHeight="600" MinWidth="897" ScrollViewer.HorizontalScrollBarVisibility="Visible"
ElementExporting="gridSAR_ElementExporting" BorderThickness="2" CellEditEnded="gridSAR_CellEditEnded"
SARModuleViews:GridViewHeaderMenu.IsEnabled="True" SelectionChanged="gridSAR_SelectionChanged" Filtered="gridSAR_Filtered"
ColumnReordered="gridSAR_ColumnReordered" >
I have a RadGridView that has more columns that can be displayed when I set the RadGridView 's width to a small value such as 200. However, the horizontal scroll bar appears or does not work. I have tried setting the scrollViewer.HorizontalScrollBarVisibility="Visible" and = "Auto". When I set it to "Visible" the scroll bar does appear, but there is no slider.
Any ideas on why this occurring? I need to restrict the width of the grid.
Here is the definition of the RadGridView . All columns are dynamically added to the RadGridView in code. The RadGridView resides on a grid where the left column is a tree control, the center column is a GridSplitter, and the right is the RadGridView .
<telerikGridView:RadGridView x:Name="gridSAR" dragDrop:RadDragAndDropManager.AllowDrop="True" Loaded="gridSAR_Loaded"
AutoGenerateColumns="False" ShowGroupPanel="false" RowIndicatorVisibility="Collapsed" CanUserSortColumns="True"
HorizontalAlignment="Left" MaxHeight="600" MinWidth="897" ScrollViewer.HorizontalScrollBarVisibility="Visible"
ElementExporting="gridSAR_ElementExporting" BorderThickness="2" CellEditEnded="gridSAR_CellEditEnded"
SARModuleViews:GridViewHeaderMenu.IsEnabled="True" SelectionChanged="gridSAR_SelectionChanged" Filtered="gridSAR_Filtered"
ColumnReordered="gridSAR_ColumnReordered" >