Results 1 to 2 of 2

Thread: Handling Grid Scrolling

  1. #1
    Join Date
    May 2013

    Handling Grid Scrolling

    Hi All,
    I have two grids on my HTML form with vertical and horizontal scrolls in it. I want to control the scrolling of both the grids simultaneously. i.e, If user scrolls one of the grid, the other grid scroll also start moving simultaneously. The position of vertical and horizontal scroll bars of both the grid will be same all the the time.i.e User can control the position of scroll bars from either one of the Grids on Form.Something like we have in Winmerge.
    Is there any way to handle this kind of situation in javascript? Please advice.


  2. #2
    Join Date
    Mar 2007
    Presumably your scrolling grids are implemented as overflowed <div>s. Try this.
    Where used, return should be executed unconditionally and always as the last statement in the function.

    That's my signature, it's not part of the damn post!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center