dataTables-使用中遇到的问题

来源:互联网 发布:淘宝店铺推广怎么推啊 编辑:程序博客网 时间:2024/06/07 00:03

1 Cannot call method ’fnSetData‘ of undefined

原因:表格中有class为hidden的列,使得内容部分的列数多于表头

2Data Tables warning(table id = 'xxxx'):Cannot reinitialize Data Table。

解决办法 使用"bRetrieve": true选项即可

0 0
原创粉丝点击