Horizontal Scroll Hierarchical Grid

2 posts, 0 answers
  1. Mark
    Mark avatar
    36 posts
    Member since:
    Jan 2012

    Posted 04 Feb 2013 Link to this post

    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.
  2. Svett
    Admin
    Svett avatar
    728 posts

    Posted 07 Feb 2013 Link to this post

    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.
Back to Top