We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can I use the scroll event of one grid to scoll another?

Thread ID:

Created:

Updated:

Platform:

Replies:

69924 Nov 19,2007 09:15 AM UTC Nov 21,2007 01:15 PM UTC WinForms 3
loading
Tags: GridControl
ToDo
Asked On November 19, 2007 09:15 AM UTC

Hi,
I would like to know if it is possible to chatch the scroll of one grid to scroll another grid.

I need to coordinate two grids.
How can I do this?

Thanks,
ToDo


Administrator [Syncfusion]
Replied On November 19, 2007 04:08 PM UTC

One way you can do this is to listen to the TopRowChanged event on each grid and then explicitly set the other grid's TopRowIndex to match the one that changed. Attached is a little sample.



SyncScrolling.zip

ToDo
Replied On November 21, 2007 01:07 PM UTC

Hi!
That was what I needed!
But what is the similarity to TopRowIndex when scrolling vertically?

Thansks!
Regards
ToDo


ToDo
Replied On November 21, 2007 01:15 PM UTC

Hi!
Never mind using
LeftColIndex and LeftColChanged event.

Thanks!
Regards,
ToDo


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;