如何解决对p:dataTable中的行重新排序会导致JavaScript“未捕获的类型错误:this.tbody.sortable不是函数”
我是初学者。 我有数据表
p:dataTable draggableRows="true" editable="true"
但是它并不真正起作用,我可以在资源管理器开发人员的工具中看到以下javascript错误:
Uncaught TypeError: this.tbody.sortable is not a function
makeRowsDraggable http://localhost:8080/test_app/app/javax.faces.resource/components.js?ln=primefaces&v=6.1:12
init http://localhost:8080/test_app/app/javax.faces.resource/components.js?ln=primefaces&v=6.1:12
Class.extend/e[d]</< http://localhost:8080/test_app/app/javax.faces.resource/core.js?ln=primefaces&v=6.1:5
c http://localhost:8080/test_app/app/javax.faces.resource/core.js?ln=primefaces&v=6.1:5
createWidget http://localhost:8080/test_app/app/javax.faces.resource/core.js?ln=primefaces&v=6.1:1
cw http://localhost:8080/test_app/app/javax.faces.resource/core.js?ln=primefaces&v=6.1:1
<anonymous> http://localhost:8080/test_app/app/suche?execution=e2s4:178
我需要链接jquery或其他吗? 我使用以下标签库:
<ui:component xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:composite="http://java.sun.com/jsf/composite">
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。