radgridview scrolling with static headers

1 posts, 0 answers
  1. Marco
    Marco avatar
    13 posts
    Member since:
    Oct 2011

    Posted 27 Oct 2011 Link to this post

    Hi, i'm trying to insert a RadGridView into a RadPane, and I want to make the headers of the column 'static'.. I mean.. when i scroll the grid, the column headers must reamain visible on top.. if I write this code there are no problems:

    <telerikdocking:RadDocking>
                <telerikdocking:RadSplitContainer >
                    <telerikdocking:RadPaneGroup >
                        <telerikdocking:RadPane  >
                            
                                <local:Grid  ></local:Grid>
                    
                        </telerikdocking:RadPane>
                    </telerikdocking:RadPaneGroup>
                </telerikdocking:RadSplitContainer>
            </telerikdocking:RadDocking>

    but I need to insert the grid into a ScrollViewer..if I write
    <ScrollViewer>
           <local:Grid  ></local:Grid>
     </ScrollViewer>
    the scroll bar of the grid disappear.. and if I use the scrollbar of the scrollViewer, headers scrolls and disappears

    How can i make the headers 'static' in this case (with the grid inserted into a scrollViewer)?
Back to Top