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

Make HeaderRow always visible

1 Answer 175 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Jokerwolf asked on 13 Aug 2010, 01:31 PM
I'm sorry, but is it posible to make the HeaderRow always visible? We have hierarchical gridview with a lot of rows, so we need to scroll each child grid and not the whole grid, cause we don't want to loose  column headers from sight.
In general we need each child grid and parent grid have their own scrollbar.
Your article Visual Structure says: "Scroll bars - RadGridView will automatically show and hide scrollbars when needed. Choose between two types of scrolling: Real time and Deferred. Every hierarchical level has its own scrollbars. "

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 17 Aug 2010, 03:10 PM
Hello Jokerwolf,

By default RadGridView will not display ScrollBars on its child grids - you will have to define a custom hierarchy template and set an explicit Height or MaxHeight. For example:

        <telerik:RadGridView Name="playersGrid" Height="100"
                         ItemsSource="{Binding Players}" 
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Number}"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Position}"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Country}"/>

the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question