这是之前问过的问题
css table sorting based on different headings in the table
这是公认的解决方案。
$("#<ID_OF_YOUR_TABLE").dataTable();
这是解决方案的工作 fiddle 。
现在我的问题是,
我如何删除显示 xxx 条目、搜索栏、显示 1 到 3 个条目(共 3 个条目)和上一个下一个,所有这些垃圾?在这个 fiddle 里?
编辑:另外,我怎样才能在一页上全部显示它们(150 个条目)。
最佳答案
替换:
$("#tbl1").dataTable();
与
$("#tbl1").dataTable({"bFilter": false,"bInfo": false, 'iDisplayLength': 150});
检查这个 Working example
关于javascript - css table sorting based on different headings in the table - 早期问题的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21744503/