We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Stop scrolling grid with dragging mouse

How do you stop the grid from scrolling when I drag the mouse.  When I try to select some text in a textbox by dragging the mouse over, the grid scrolls instead.  I only want to use the scrollbars to scroll the grid.

Mike

1 Reply

RU Ragavee U S Syncfusion Team December 19, 2016 07:16 AM UTC

Hi Michael, 

Thanks for contacting Syncfusion support. 

We can achieve your requirement to disable touch scrolling on grid using the enableTouchScroll property of the ejScroller. 



In the above sample, we have disabled touch scroll in grid using the dataBound event of the Grid. Please refer to the code example. 

dataBound: function(args){ 
            this.getScrollObject().option("model.enableTouchScroll", false); 
        } 

Regards, 
Ragavee U S. 


Loader.
Up arrow icon