Author Topic: I want the mouse to scroll by dragging. What code do I need?  (Read 1924 times)

kjvjung

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 33
    • View Profile
I want the mouse to scroll by dragging. What code do I need?
« on: August 22, 2017, 08:01:40 pm »

The reasons I asked a few hours ago are:


In the example below, the mouse is scrolled by dragging.

http://Https://paramquery.com/pro/demos/selection_multiple (GOOD)

However, in the example below, scrolling does not occur with the mouse drag.

http://Https://paramquery.com/pro/demos/infinite_scroll (BAD)


This is my problem.

How can I scroll by mouse drag as in the first example in the second example?

your answer :
Please correct the source at https://paramquery.com/pro/demos/infinite_scroll.

Thank you.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: I want the mouse to scroll by dragging. What code do I need?
« Reply #1 on: August 23, 2017, 09:49:35 am »
You mean by swipe scrolling.

swipe scrolling is supported only in non -virtual mode ( virtualX: false, virtualY: false ).

https://paramquery.com/pro/api#option-virtualX

https://paramquery.com/pro/api#option-virtualY

swipe doesn't work in virtual mode. The grid can still be scrolled with the scrollbars

kjvjung

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: I want the mouse to scroll by dragging. What code do I need?
« Reply #2 on: August 23, 2017, 10:08:05 am »
 ;) thank you ^^