[CLOSED] Grid scrolling without the scrollbar

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Grid scrolling without the scrollbar

    Hi,
    I have 2 grids side by side. I want to be able to scroll (vertically) both grids at the same time. I can "sync" the scrolling of grid A with grid B by using the following script:
    fucnction SyncScroll()
    {
            GridA.setHeight(GridB.getHeight() - 30);
            GridA.getView().scroller.dom.scrollTop = GridB.getView().scroller.dom.scrollTop;
    }
    Adding this to the grid B
    <AfterRender Handler="this.getView().scroller.on('scroll', SyncScroll);"/>
    Everything is great. However, I want to hide the scroll bar in Grid A.

    How can I do that?
    Last edited by Daniil; Dec 28, 2011 at 7:02 PM. Reason: Please use [CODE] tags, [CLOSED]

Similar Threads

  1. [CLOSED] Infinite Scrolling Grid with GridFilter feature - JavaScript Error
    By MacGarnicle in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: Apr 04, 2012, 2:06 PM
  2. Replies: 2
    Last Post: Oct 18, 2011, 3:50 PM
  3. Replies: 4
    Last Post: Aug 09, 2011, 8:32 PM
  4. [CLOSED] Buffered Grid View Scrolling
    By bethc in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 02, 2009, 7:29 AM
  5. Replies: 1
    Last Post: Jan 29, 2009, 10:46 AM

Posting Permissions