Listview拖放 [英] Listview drag and drop

查看:102
本文介绍了Listview拖放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个待办事项列表,我希望通过让用户在列表视图中拖放项目来确定优先顺序。似乎winjs listview不支持拖放。首先,这是正确的吗?其次,如果是,我可以使用HTML 5拖放
(例如 http:// www。 html5rocks.com/en/tutorials/dnd/basics/ )&使用listview有没有任何已知的问题?看起来像一个非常基本的用例,我没有运气找到
的例子或指导。任何帮助表示赞赏,谢谢!

I have a to do list that I would like to prioritize by letting the user drag and drop items in a list view. It seems like drag and drop is not supported by the winjs listview. First off, is that correct? Second, if yes, could I use HTML 5 drag and drop (e.g. http://www.html5rocks.com/en/tutorials/dnd/basics/) and are there any known issues of doing that with the listview? Seems like a pretty basic use case and I haven't had any luck finding examples or guidance on this. Any help is appreciated, thanks!

推荐答案

任何人?此外,如果我要使用向上和向下appbar命令,如何在列表视图中上下移动项目的任何示例?
Anyone? Also, any examples of how to move items up and down the listview if I was to use Up and Down appbar commands?


这篇关于Listview拖放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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