Phonegap Calender sheduler not allowing create event with double click

272 Views Asked by At

I'm working on a Calender scheduler using dhtmlx in phonegap.I managed to get the events from my mysql database but unable to create new events because the double click event in a touch screen enable to zoom-in or zoom-out. Please help me in this.how to disable this zoom-in and zoom-out and enable create event.

3

There are 3 best solutions below

1
On

Have you tried setting the viewport meta tag? If not, try this:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
0
On

There is a special, touch version of dhtmlx scheduler - http://dhtmlx.com/docs/products/dhtmlxScheduler/sample_mobile.shtml.

0
On

Probably scheduler do not recognizes a touch device, when rendered in a PhoneGap.

Try enabling touch support mode manually

scheduler.config.touch = "force";

http://docs.dhtmlx.com/scheduler/api__scheduler_touch_config.html