我在DataTables中使用这个api:http://www.sprymedia.co.uk/dataTables/example_multi_filter.html
但是如何将搜索输入放在表格上方,"搜索所有列"旁边?
Pet*_*tah 20
你可以试试CSS:
tfoot {
display: table-header-group;
}
Run Code Online (Sandbox Code Playgroud)
您可以对DataTables使用列过滤器加载项.它可以配置为在标题行的下方和上方放置过滤器.见http://jquery-datatables-column-filter.googlecode.com/svn/trunk/dateRange.html,http://jquery-datatables-column-filter.googlecode.com/svn/trunk/numberRange.html等网站上的例子.
快速更新:上面的两个网址现在无效.这是一个有效的工作:https://code.google.com/archive/p/jquery-datatables-column-filter/
| 归档时间: |
|
| 查看次数: |
17664 次 |
| 最近记录: |