Jqgrid Drag and Drop不适用于平板电脑 [英] Jqgrid Drag and Drop is not working in tablet

查看:94
本文介绍了Jqgrid Drag and Drop不适用于平板电脑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在jqgrid中重新排序我的行。我使用此示例实现了此功能

I want to reorder my rows in jqgrid. I achieved this functionality using this example

单击这里,我已经在平板电脑上检查了这个样本,它不能用于IE,Safari,Chrome浏览器等以下浏览器,但可以在FF中使用。

click here, I have checked that sample in tablet PC,it is not working in following browsers like IE,Safari,Chrome browsers,but works in FF.

我们对此有什么常规解决方法吗?

Do we have any general fix for this?

推荐答案

我写了你多年前为< a href =https://stackoverflow.com/a/2775577/315935>答案。人们不能指望旧版本的jQuery,jQuery UI和jqGrid将永远运作。

I wrote the demo which you reference many year ago for the answer. One can't expect that old versions of jQuery, jQuery UI and jqGrid will work forever.

如果只是将jQuery,jQuery UI替换为当前版本并使用jqGrid 4.6然后该演示将更好地工作,但它仍然无法在Chrome中运行。这是众所周知的jQuery UI问题。 jQuery UI Touch Punch 插件完全针对该案例编写。

If one just replace jQuery, jQuery UI to the current one and to use jqGrid 4.6 then the demo will better work, but it will still not work in Chrome. It's well known problems with jQuery UI. The plugin jQuery UI Touch Punch is written exactly for the case.

您可以验证使用jqGrid的演示 4.6在Chrome中已经完美运行,但在IE中却没有。 jQuery UI已经在平板电脑上的IE中运行,但 sortableRows 适用于Chrome和Firefox,但它在IE中有问题。此外,我们可以看到表格编辑对话框无法在平板电脑上移动(Firefox除外)。

You can verify that the demo which uses jqGrid 4.6 works already perfectly in Chrome, but not in IE. jQuery UI already works in IE on tablet PC, but sortableRows works on Chrome and Firefox, but it have problem in IE. Moreover one can see that the form editing dialogs can't be moved on tablet PCs (with exception of Firefox).

下一个演示 使用免费jqGrid 。这是我在改变了jqGrid的许可协议后开发的jqGrid的分支,并开始 Guriddo jqGrid JS 哪个不是更自由。我在免费的jqGrid中实现了许多新功能。我重写了jqGrid中使用的 jqDnR module for drag&已经为第一个免费的jqGrid版本4.8下降了。免费jqGrid 4.9即将发布。

The next demo uses free jqGrid. It's the fork of jqGrid which I develop after Tony have changed the licence agreement of jqGrid and started Guriddo jqGrid JS which is not more free. I implemented many new features in free jqGrid. I rewrote jqDnR module used in jqGrid for drag&drop already for the first free jqGrid release 4.8. Free jqGrid 4.9 will be soon published.

因此我建议您只使用jQuery UI Touch Punch和免费的jqGrid来解决所描述的问题。

Thus I would recommend you just use jQuery UI Touch Punch and free jqGrid to solve the described problems.

这篇关于Jqgrid Drag and Drop不适用于平板电脑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆