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

Horizontal Scroll Hierarchical Grid

1 Answer 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 04 Feb 2013, 02:50 PM
Hi,

I have a hierarchical grid that has HorizontalScrollState = AutoHide for the mastertemplate, and HorizontalScrollState 
= AlwaysHide for templates(0).

This correctly gives me a single scroll bar for the whole grid when the context exceeds the width of the screen, however when I scroll horizontally, the parent grid tracks with the scrollbar but expanded detail rows do not.

I am looking for the main scrollbar to scroll the entire grid contents together, ie,  master rows and any expanded detail rows.

How do I go about this?

Thanks,

Mark.

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 07 Feb 2013, 02:08 PM
Hi Mark,

You can achieve the desired scenario by creating a custom detail cell and a class that synchronizes the scroll position for parent and child rows. I am enclosing a sample project which demonstrates how you can do it.

Greetings,
Svett
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Tags
GridView
Asked by
Mark
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or