Hi, code in link below is written for 1.x and not working in 2.x version.
http://forums.ext.net/showthread.php...-the-scrollbar
Could you please provide for 2.5.2 version ?
Printable View
Hi, code in link below is written for 1.x and not working in 2.x version.
http://forums.ext.net/showthread.php...-the-scrollbar
Could you please provide for 2.5.2 version ?
You can use this:
to hide the vertical scrollbar.Code:App.GridPanel1.getOverflowEl().setStyle("overflow-y", "hidden")
On Ext.NET 4 (and possibly 3) you can just:
To do the same.Code:App.GridPanel1.getView().setOverflowXY(null,"hidden");
Hope this helps!
Hi,
Could you please review this thread from begining
http://forums.ext.net/showthread.php...-the-scrollbar
I have two questions:
1. What about revisions in these parts
HTML Code:fucnction SyncScroll()
{
GridA.setHeight(GridB.getHeight() - 30);
GridA.getView().scroller.dom.scrollTop = GridB.getView().scroller.dom.scrollTop;
}
Please advise me so that i can subscribe scroller's on scroll event.HTML Code:<AfterRender Handler="this.getView().scroller.on('scroll', SyncScroll);"/>
2. In which listener this code should be added so that overflow-y or overflow-x will be hidden.
HTML Code:App.GridPanel1.getOverflowEl().setStyle("overflow-y", "hidden")
Hello @gumush75!
I'm pretty confident your questions have all been replied on this thread: Tow gridpanel scroll together.
I believe we ended up with several threads for the very same question so, if the answer provided in the linked thread above replies your inquiries, let us know so we can decide on which thread shall we keep the subject.
We appreciate different threads for different topics, and single thread for the same inquiry to keep questions tidy but also understand in this case the matter slightly diverged and then (I supposed) is converging for the same thread. If that's not the case, let us know what's still not clear for you here.
Hello @gumush75!
This thread is a little confuse and linked to several other threads but maybe there's still something we can do to help you with the issue, or maybe this thread is no longer necessary due to the replies to the other threads. What you say? We're looking forward for your feedback!