onDrag/onDrop in Webclient on Tablet

Forum to discuss the Web client version of Servoy.

onDrag/onDrop in Webclient on Tablet

Postby kwpsd » Fri Jan 31, 2014 3:28 am

Version: 6.1.6 - build 1439

Does anyone know if drag-and-drop is supported in a webclient (browser) running on a tablet (e.g. Samsung Galaxy Tab 2 running Android)? That is, do the tablet finger gestures support drag-and-drop from one object to another?

The reason for asking is that I can, uisng a mouse, drag-and-drop from one object to another in a web client on my computer but cannot drag-and-drop, using my fingers, on the tablet running the same webclient.
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: onDrag/onDrop in Webclient on Tablet

Postby david » Fri Jan 31, 2014 6:40 am

No touch events are supported by Servoy Webclient. It's straightforward to add your own with a library like Hammer.js if you're comfortable with the web utils plugin.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: onDrag/onDrop in Webclient on Tablet

Postby kwpsd » Fri Jan 31, 2014 7:30 am

Hi, David.

No touch events are supported by Servoy Webclient.


Well, some events must be supported...I can tap on buttons, pull down lists (combo boxes), operate scroll bars, and scroll text areas with my finger using webclient on the tablet. I can do these things on a Windows 8 computer with touch-screen using IE and webclient, too. But I cannot drag-and-drop on either one.

Thanks for the tip on Hammer.js...I will have a look at it.
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: onDrag/onDrop in Webclient on Tablet

Postby david » Fri Jan 31, 2014 11:16 am

Clarification then :) No touch events beyond the various default mobile browser touch-to-mouse mappings for common items are supported. Furthermore, drag-and-drop in Servoy webclient is specifically attached to mouse events.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: onDrag/onDrop in Webclient on Tablet

Postby kwpsd » Fri Jan 31, 2014 6:38 pm

Furthermore, drag-and-drop in Servoy webclient is specifically attached to mouse events.


My conclusion as well...I just needed someone to confirm it. Thank you!
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: onDrag/onDrop in Webclient on Tablet

Postby kwpsd » Fri Feb 14, 2014 6:00 am

Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 5 guests