Jquery Datatable theme Hide header/footer balk

后端 未结 8 2343
梦毁少年i
梦毁少年i 2021-02-10 06:54

I am trying to remove the header/footer balk of this table

Picture of what I am trying to remove: \"enter

相关标签:
8条回答
  • 2021-02-10 07:56

    Try the below! Hope that helps!

    $(document).ready(function() {
        var oTable = $('#tableSmooth').dataTable({
            "bFilter" : false, //Disable search function
            "bJQueryUI" : true, //Enable smooth theme
            "sPaginationType" : "full_numbers", //Enable smooth theme
            "bFilter" : false,
            "bInfo" : false
        });
    }); 
    
    0 讨论(0)
  • 2021-02-10 07:57
                oTable = $('#datatable').dataTable({
                    bJQueryUI: true,
                    bFilter: false, 
                    bInfo: false,
                    bPaginate: false,
                    sDom: 't'
                });
    

    This will remove search bar, pagination, header and footer.

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