This is a migrated thread and some comments may be shown as answers.

[Solved] RadGridView Theming not working properly

2 Answers 110 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Débora Setton
Top achievements
Rank 1
Débora Setton asked on 04 Feb 2010, 06:53 PM
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.



2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan Dobrev
Telerik team
answered on 04 Feb 2010, 09:23 PM
Hello Débora,

This problem is due to the horizontal virtualization we have recently implemented. The good news is that this has already been addressed in one of our latest internal builds. Can you please download the latest one and verify that this issue has been fixed?


Kind regards,
Stefan Dobrev
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Débora Setton
Top achievements
Rank 1
answered on 18 Feb 2010, 10:53 AM
Hello,
I'm sorry if it took me a long time to answer. I've downloaded the latest build and that fixed the problem.
Thank you.
Tags
GridView
Asked by
Débora Setton
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Débora Setton
Top achievements
Rank 1
Share this question
or