<telerik:RadGridView Name="playersGrid" Width="Auto" Height="Auto" HorizontalAlignment="Left" VerticalAlignment="Top" IsReadOnly="True" |
ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" ShowColumnFooters="True" CanUserReorderColumns="False" > |
</telerik:RadGridView> |
I have a RadPane contains a RadGridView. By default, all the columns' IsVisible are true.However I hide some columns with setting the IsVisible to false from codebehind based on some business logic.
The problem is: after I hide those colume, and resize the RadPane, gridView's horizontal scrollbar's color always yellow, and it will scroll with mouse position even if the mouse does not click scrollbar.
How to repeat:
1. Make Gridview has horizontal scrollbar before hiding columns, and resize the RadPane's width (keep the horizontal scrollbar appearing, and width is bigger then gridview's width after hiding columns )
2. click button ( or other method) to hide some columns. now the horizontal scrollbar is still appear (is it a bug?)
3. move the horizontal scrollbar, then the bar disappeared.
4, resize the radPane smaller, the horizontal scrollbar appear again, but has problem.
Thanks.
Xusheng