您好我试图让jquery DataTables使用更多的optins,我有这个:
<script type="text/javascript">
$(document).ready(function(){
$('#example').dataTable()
.columnFilter({
aoColumns: [ { type: "select", values: [ 'Gecko', 'Trident', 'KHTML', 'Misc', 'Presto', 'Webkit', 'Tasman'] },
{ type: "text" },
null,
{ type: "number" }
],
});
});
</script>
我想添加这些选项,但无法确定放置它们的位置:
"iDisplayLength": 50 ,
"sPaginationType": "full_numbers",
"aaSorting": [[1, 'desc']]
});
答案 0 :(得分:0)
$('#example').dataTable({
"iDisplayLength": 50,
"sPaginationType": "full_numbers",
"aaSorting": [[1, 'desc']]
}).columnFilter({....