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
685
Synchronize scrollbars
posted

Hello

 

I have a form with 2 wingrids side by side, these 2 wingrids have exactly the same number of rows and when I scroll vertically one of them I'd like the other one scroll exactly the same way. Is it possible doing that?

 

Thanks

Claudio di flumeri

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Claudio,

    You could do something like this:


            private void ultraGrid1_BeforeRowRegionScroll(object sender, Infragistics.Win.UltraWinGrid.BeforeRowRegionScrollEventArgs e)
            {
                this.ultraGrid2.ActiveRowScrollRegion.FirstRow = this.ultraGrid2.Rows[e.NewState.FirstRow.Index];
            }

     

Children
No Data