2016-08-16 84 views
2

我正在使用jQuery Datatables,并在表格顶部显示[]条目。不过,我想把它移到底部。show [] entries数据表更改位置

下面是我的jQuery代码:

$(document).ready(function() { 
    $('#ple').dataTable({ 
    "dom": '<"pull-left"f><"pull-bottom"l>tip' 
    }); 
}); 
+2

https://datatables.net/examples/basic_init/dom.html –

回答

1
$(document).ready(function() { 
    $('#ple').dataTable({ 
    bLengthChange: true, 
    "sDom": 'Rlfrtlip', 
    }); 
    //If it shows multiple show[] entries then use following line to hide top one 
    //$("#machineStatusTabel_length:first").hide() 
});