How to place DataTables column filter on top

前端 未结 7 2054
[愿得一人]
[愿得一人] 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:51

    In CSS you can use

    display: table-header-group; //on tfoot

    and

    display: table-row-group; //on thead

    You'll get them positioned like this:

    tfoot
    thead
    tbody
    

提交回复
热议问题