如何使用Jquery Picnet Table筛选器?

问题描述

| 我已经在grails应用js目录中复制了picnet Table筛选器脚本文件。然后在行的下面加上“ 0”,为表格添加过滤器:
<script type=\"text/javascript\">
$(document).ready(function()   {                                                                
$(\'#logDisplayTable\').tableFilter();});
</script>
在要过滤的列的表标题字段中,我给出了类似的过滤器类型,  filter-type = \'ddl \' 但是我仍然没有在显示时过滤文本框的.only表。我在哪里做错了?     

解决方法

        你加
thead
tbody
了吗?
<table>
<thead>//this is important
<th>Your Header1</th>
<th>Your Header2</th>
</thead>
<tbody>//and this
<tr><td>value1</td></tr>
<tr><td>value2</td></tr>
</tbody>
</table>
    

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...