如何隐藏数据表中的条目?

How to hide the entries in datatable?

正在尝试停止将某些参数显示到数据表中。

已使用 Info: false。然而,数据表仍然显示显示 0 到 0 个条目。

这里是 JavaScript 代码:

$(document).ready(function() {

    $('#cli').addClass('hide');
    $('.users8').addClass('activetab');

    var oTable = $("#bugtable").dataTable({
        "bLengthChange": false,
        "Info" : false,
        "paging":false,
        "aoColumnDefs": [{
            "bSortable": false,
            "aTargets": [-1]
        }],
        "autoWidth": false,
        "columns": [{
            "width": "10%"
        }, {
            "width": "10%"
        }, {
            "width": "10%"
        }, {
            "width": "10%"
        }, {
            "width": "10%"
        }, {
            "width": "10%"
        }]
    });

    $('#addfor').keyup(function() {
        oTable.search($(this).val()).draw();
    });
});

将 table 设置为空字符串时,在 oLanguage 中设置 属性 sEmptyTable:

var oTable= $('#bugtable').dataTable({
    "oLanguage": {
        "sEmptyTable": ""
    }
    // Other table setup options
}