ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: kjvjung on August 22, 2017, 08:01:40 pm

Title: I want the mouse to scroll by dragging. What code do I need?
Post by: kjvjung 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.

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

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

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.
Title: Re: I want the mouse to scroll by dragging. What code do I need?
Post by: paramvir 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
Title: Re: I want the mouse to scroll by dragging. What code do I need?
Post by: kjvjung on August 23, 2017, 10:08:05 am
 ;) thank you ^^