good day, I would like to ask. Is it possible to move the scrollbar of the grid thru code?

Let me explain further. I have two grids. Lets call them grid1 and grid2. And both of them have a vertical scrollbar when filled with data. I want to browse the data at grid2. So I will use the grid2 scrollbar, but I want grid1 to scroll along whenever the grid2 scrolls down and vice versa. How am i going to achieve this?

Thank you