Phonegap日历计划程序不允许双击创建事件

时间:2013-12-16 08:37:44

标签: cordova calendar double-click touchscreen dhtmlx-scheduler

我正在使用phonegap中的dhtmlx处理日历调度程序。我设法从我的mysql数据库中获取事件但无法创建新事件,因为触摸屏中的双击事件可以放大或缩小。 请帮我这个。如何禁用此放大和缩小并启用创建事件。

3 个答案:

答案 0 :(得分:0)

有一个特殊的触控版dhtmlx调度程序 - http://dhtmlx.com/docs/products/dhtmlxScheduler/sample_mobile.shtml

答案 1 :(得分:0)

您是否尝试过设置视口元标记?如果没有,试试这个:

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

答案 2 :(得分:0)

在PhoneGap中呈现时,可能调度程序无法识别触摸设备。

尝试手动启用触控支持模式

scheduler.config.touch = "force";

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