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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Stop scrolling grid with dragging mouse

Thread ID:

Created:

Updated:

Platform:

Replies:

127903 Dec 16,2016 01:01 PM Dec 19,2016 02:16 AM ASP.NET MVC 1
loading
Tags: Grid
Michael Lambert
Asked On December 16, 2016 01:01 PM

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

Ragavee U S [Syncfusion]
Replied On December 19, 2016 02:16 AM

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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;