Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2805
horizontal scroll bar in child grid
posted

Hello,

We have a hierarchical xamdatagrid as showed in the attached jpg file. If I drag the horizontal scroll bar to the right, only the parent ( for example "Left Ventricle") will move to the left, what we want is to move the child grid as well. How to get this?

Thanks.

  • 34510
    Verified Answer
    Offline posted

    Hi TTran117,

    Horizontal scrolling is something that is supported by default in the XamDataGrid.  Please take a look at my sample.  In my sample, when I expand a parent row and begin scrolling horizontally, the parent records are also scrolled.

    Looking at your screenshot, it seems you have customized the XamDataGrid quite a bit.  It looks very similar to a tree control rather than a grid control.  Is it possible that one of your customizations has altered the scrolling behavior?

    DataGridHorizontalScrolling.zip