How to place DataTables column filter on top

前端 未结 7 2034
[愿得一人]
[愿得一人] 2020-12-08 16:29

I am using jQuery DataTables latest version. I want to use individual column filter on every table so am using the column filter plugin but am getting search boxes in foote

相关标签:
7条回答
  • 2020-12-08 16:59

    Simply use the following javascript code ( here 'example' being the id of your table ):

    $('#example tfoot tr').insertAfter($('#example thead tr'))

    0 讨论(0)
提交回复
热议问题