[CLOSED] Grid scrolling without the scrollbar

  1. #1

    [CLOSED] Grid scrolling without the scrollbar

    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 ?
    Last edited by fabricio.murta; Jan 03, 2017 at 10:58 PM. Reason: no user feedback for 7+ days
  2. #2
    You can use this:

    App.GridPanel1.getOverflowEl().setStyle("overflow-y", "hidden")
    to hide the vertical scrollbar.

    On Ext.NET 4 (and possibly 3) you can just:

    App.GridPanel1.getView().setOverflowXY(null,"hidden");
    To do the same.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    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

    fucnction SyncScroll()
    {
            GridA.setHeight(GridB.getHeight() - 30);
            GridA.getView().scroller.dom.scrollTop = GridB.getView().scroller.dom.scrollTop;
    }

    <AfterRender Handler="this.getView().scroller.on('scroll', SyncScroll);"/>
    Please advise me so that i can subscribe scroller's on scroll event.

    2. In which listener this code should be added so that overflow-y or overflow-x will be hidden.
    App.GridPanel1.getOverflowEl().setStyle("overflow-y", "hidden")
  4. #4
    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.
    Fabrício Murta
    Developer & Support Expert
  5. #5
    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!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] Grid scrolling without the scrollbar
    By rthiney in forum 1.x Premium Help
    Replies: 4
    Last Post: Nov 18, 2016, 7:58 PM
  2. Replies: 6
    Last Post: Nov 12, 2014, 9:35 PM
  3. [CLOSED] Grid inside a panel does not show vertical scrollbar
    By blueworld in forum 2.x Premium Help
    Replies: 4
    Last Post: Sep 27, 2012, 3:16 PM
  4. Replies: 5
    Last Post: Sep 03, 2012, 2:38 PM
  5. Replies: 2
    Last Post: Oct 18, 2011, 4:50 PM

Tags for this Thread

Posting Permissions