Primefaces Sortable dataGrid 组件不可能? [英] Primefaces Sortable dataGrid component not possible?

查看:71
本文介绍了Primefaces Sortable dataGrid 组件不可能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我查看了组件展示和文档,也许我错过了,但我希望使组件可排序,尤其是 dataGrid 或 dataList.选择列表具有可排序的行为,但我不知道如何使它像可排序的 dataGrid 或 dataList 一样工作.类似于此 http://jqueryui.com/demos/sortable/

I looked over the component showcase and documentation and maybe I missed it but I was looking to make a component sortable, especially the dataGrid or dataList. The pick list has the sortable behavior but I don't see how to make it work like a sortable dataGrid or dataList. Something similar to this http://jqueryui.com/demos/sortable/

我目前有页面的两个部分.底部是一组可拖动的图像,顶部是将这些图像添加到的放置区.一旦我从 bootom 拖到顶部放置区,我希望能够让用户将这些图像重新排序到顶部..

I currently have two parts of the page. The bottom part is a draggable set of images and the top part is the drop zone to add those images to. Once I drag from the bootom to the top drop zone I want to be able to let the user reorder those images up top..

有什么建议吗?

推荐答案

也许这个 Drag&从 Primefaces Showcase 中删除示例会对您有所帮助.

Maybe this Drag&Drop example from Primefaces Showcase will help you.

这篇关于Primefaces Sortable dataGrid 组件不可能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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