2 Replies - 225 Views - Last Post: 05 October 2019 - 02:48 PM Rate Topic: -----

#1 pj18limited   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 09-September 19

Datagridview scroll question

Posted 05 October 2019 - 12:42 PM

I have two datagridview controls together side by side in one panel container. Is it possible to scroll one and the other scrolls along with it?
Is This A Good Question/Topic? 0
  • +

Replies To: Datagridview scroll question

#2 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15310
  • View blog
  • Posts: 61,393
  • Joined: 12-June 08

Re: Datagridview scroll question

Posted 05 October 2019 - 01:29 PM

I would imagine so. Hook into the scroll event of one.. change the 'FirstDisplayedScrollingRowIndex' of the other based on the first's VerticalScrollingOffset.


https://docs.microso...etframework-4.8

https://docs.microso...etframework-4.8
Was This Post Helpful? 0
  • +
  • -

#3 pj18limited   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 09-September 19

Re: Datagridview scroll question

Posted 05 October 2019 - 02:48 PM

Thanks, I wanted to make sure it was possible before I spent a lot of time searching for a way to do it.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1