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. Image for the cookie policy date

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

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


3 Replies

AD Administrator Syncfusion Team 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


TO ToDo 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



TO ToDo November 21, 2007 01:15 PM UTC

Hi!
Never mind using
LeftColIndex and LeftColChanged event.

Thanks!
Regards,
ToDo


Loader.
Live Chat Icon For mobile
Up arrow icon