Page 1 of 1

MergExt mergDataGridScroller and MouseMove

Posted: Tue Jul 19, 2016 4:38 pm
by trevix
I have a mergDataGridScroller that behave correctly on IDE and desktop App, but NOT on mobile iOS simulator:

Each line(group) has a button that allows, using MouseMove, to drag the group (line) to a different position in the list of groups.

On mobile, after a 10 pixel drag on either direction of a group(line), the entire grid start scrolling.

Is there something I should be aware, about mergDataGridScroller?

Thanks
Trevix

Re: MergExt mergDataGridScroller and MouseMove

Posted: Wed Jul 20, 2016 2:31 pm
by Mikey
Trevix,
Please try the following:
1) Drag quickly
2) Drag slowly

See if there is a difference in how far you get.

Re: MergExt mergDataGridScroller and MouseMove

Posted: Wed Jul 20, 2016 4:31 pm
by trevix
Thanks for answering.

If i drag fast the entire grid scroll.
If I drag slow, the group/line start moving but, after around 10 pixel in either direction, the entire grid start scrolling.
Any clue?

Re: MergExt mergDataGridScroller and MouseMove

Posted: Wed Jul 20, 2016 5:07 pm
by Mikey
If you don't mind sending me a sample, I'm curious, so I'd like to have a look. I have messed with the code in MDGS, so I'd like to see what your sample is doing for myself, and then start playing with it to see what I can do.

Re: MergExt mergDataGridScroller and MouseMove

Posted: Thu Jul 21, 2016 9:33 am
by trevix
Sorry. Cannot share my stack and I tried to extract the grid from my stack (way to big) but I couldn't: too many dependencies...
I will keep digging and see if I find something.

Re: MergExt mergDataGridScroller and MouseMove

Posted: Sat Jul 23, 2016 9:26 am
by trevix
Did not find the reason but I solved with a

Code: Select all

mobileControlSet "DateScroll", "scrollingEnabled", pVisible --disable or enable
before dragging a group/line.