Problem with column common headers

3 posts, 0 answers
  1. Michael
    Michael avatar
    2 posts
    Member since:
    Nov 2012

    Posted 07 Dec 2012 Link to this post

    I am having an issue that causes the sliding column common group headers  to go over the top of the frozen column common group headers and act strangely. Is there a fix for this?



     <Grid x:Name="LayoutRoot" Background="White">
            <StackPanel Height="400" Width="1000">

                <telerik:RadGridView Name="EmployeesGrid" HorizontalAlignment="Left" ItemsSource="{Binding Source={StaticResource EmplyeesDataSource}, Path=Employees}"
                    Margin="0" IsReadOnly="True"
                    AutoExpandGroups="True" AutoGenerateColumns="False" CanUserFreezeColumns="True" CanUserResizeColumns="True"
                                     ShowGroupPanel="True"
                    FrozenColumnCount="6" RowIndicatorVisibility="Collapsed"
                    ScrollViewer.VerticalScrollBarVisibility="Visible"
                    ScrollViewer.HorizontalScrollBarVisibility="Visible"
                    VerticalAlignment="Stretch" GridLinesVisibility="Both"
                    Height="400">
                    <telerik:RadGridView.ColumnGroups>
                        <telerik:GridViewColumnGroup  Name="Name"   Header="Name"        />
                        <telerik:GridViewColumnGroup  Name="Address" Header="Address"      />
                        <telerik:GridViewColumnGroup  Name="Story"    Header="Story"         />
                    </telerik:RadGridView.ColumnGroups>
                    <telerik:RadGridView.Columns>
         <telerik:GridViewDataColumn ColumnGroupName="Name" Header="FirstName" Width="100" DataMemberBinding="{Binding FirstName}"  />
                        <telerik:GridViewDataColumn ColumnGroupName="Name" Header="LastName" Width="100" DataMemberBinding="{Binding LastName}"  />

                        <telerik:GridViewDataColumn ColumnGroupName="Address" Header="Address" Width="100" DataMemberBinding="{Binding Address}"  />
                        <telerik:GridViewDataColumn ColumnGroupName="Address" Header="Address2" Width="100" DataMemberBinding="{Binding Address2}"  />
                        <telerik:GridViewDataColumn ColumnGroupName="Address" Header="City" Width="100" DataMemberBinding="{Binding City}"  />
                        <telerik:GridViewDataColumn ColumnGroupName="Address" Header="State"  Width="100" DataMemberBinding="{Binding State}"  />
                        <telerik:GridViewDataColumn ColumnGroupName="Address" Header="Zip Code"  Width="100" DataMemberBinding="{Binding ZipCode}"  />

                        <telerik:GridViewDataColumn ColumnGroupName="Address" Header="Address" Width="100" DataMemberBinding="{Binding Address}"  />
                        <telerik:GridViewDataColumn ColumnGroupName="Address" Header="Address2" Width="100" DataMemberBinding="{Binding Address2}"  />
                        <telerik:GridViewDataColumn ColumnGroupName="Address" Header="City" Width="100" DataMemberBinding="{Binding City}"  />
                        <telerik:GridViewDataColumn ColumnGroupName="Address" Header="State"  Width="100" DataMemberBinding="{Binding State}"  />
                        <telerik:GridViewDataColumn ColumnGroupName="Address" Header="Zip Code"  Width="100" DataMemberBinding="{Binding ZipCode}"  />

                        <telerik:GridViewDataColumn ColumnGroupName="Story" Header="Life Story" DataMemberBinding="{Binding LifeStory}"/>

               
                    </telerik:RadGridView.Columns>
         
        </telerik:RadGridView>

            </StackPanel>
        </Grid>

  2. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 10 Dec 2012 Link to this post

    Hi Michael,

    Could you confirm version of the Telerik controls you are using? I've tested the provided code with binaries from our latest official version Q3 2012 SP1 and the problem cannot be reproduced. Please check the attached sample project.
     
    Kind regards,
    Yordanka
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Michael
    Michael avatar
    2 posts
    Member since:
    Nov 2012

    Posted 10 Dec 2012 Link to this post

    I was using a slightly older version. When I updated to the newer one is was fine.
    Thank you!
Back to Top