This question is locked. New answers and comments are not allowed.
Hello,
I have been using the RadGridView and I came accross a very odd behaviour:
I have a RadGridView inside a Silverlight page. This grid is themed with the "Vista" theme, and has 13 columns, thus requiring a horizontal scroll viewer.
When the page is initially loaded, everything is fine. But when I scroll the grid to the right, to reach the last column, these last columns are not themed at all! They have the appearence of a RadGridView when you don't set any theme.
Not only that, but when I scroll back to the first columns, the ones that were hidden while I was looking at the other end of the grid have lost their theming!
Basically, the only columns getting the theme (or keeping it) are the ones that are never hidden on either side of the grid.
Is this a known behaviour? Am I doing anything wrong?
The following code is my grid:
| <!-- Grid --> |
| <Border Height="250" Grid.Row="2" Style="{StaticResource GridBorderStyle}" VerticalAlignment="Top" Grid.ColumnSpan="2"> |
| <ScrollViewer VerticalScrollBarVisibility="Auto" Style="{StaticResource MenuLateralScrollViewerStyle}" controlsToolkit:ScrollViewerExtensions.IsMouseWheelScrollingEnabled="True"> |
| <Grid> |
| <grid:RadGridView x:Name="DadosPostoFluviometricoDataGrid" IsReadOnly="True" ShowGroupPanel="False" AutoGenerateColumns="False" telerik:StyleManager.Theme="Vista"> |
| <grid:RadGridView.Columns> |
| <grid:GridViewDataColumn |
| Header="Ano" |
| DataMemberBinding="{Binding Ano, Mode=TwoWay}"/> |
| <grid:GridViewDataColumn Header="Jan (m³/s)"/> |
| <grid:GridViewDataColumn Header="Fev (m³/s)"/> |
| <grid:GridViewDataColumn Header="Mar (m³/s)"/> |
| <grid:GridViewDataColumn Header="Abr (m³/s)"/> |
| <grid:GridViewDataColumn Header="Mai (m³/s)"/> |
| <grid:GridViewDataColumn Header="Jun (m³/s)"/> |
| <grid:GridViewDataColumn Header="Jul (m³/s)"/> |
| <grid:GridViewDataColumn Header="Ago (m³/s)"/> |
| <grid:GridViewDataColumn Header="Set (m³/s)"/> |
| <grid:GridViewDataColumn Header="Out (m³/s)"/> |
| <grid:GridViewDataColumn Header="Nov (m³/s)"/> |
| <grid:GridViewDataColumn Header="Dez (m³/s)"/> |
| </grid:RadGridView.Columns> |
| </grid:RadGridView> |
| </Grid> |
| </ScrollViewer> |
| </Border> |
I have also attached a picture that shows what I described above.
Thank you in advance.