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

radgridview scrolling with static headers

0 Answers 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 27 Oct 2011, 10:31 AM
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)?

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Marco
Top achievements
Rank 1
Share this question
or