[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:
Code:
fucnction SyncScroll()
{
GridA.setHeight(GridB.getHeight() - 30);
GridA.getView().scroller.dom.scrollTop = GridB.getView().scroller.dom.scrollTop;
}
Adding this to the grid B
Code:
<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?
How is it in Ext 2.x version ?
This code is not working in 2.5.2.
Could you please re-write for 2.5.2 ?