我有数据表-
$('#mytable').dataTable({
"bProcessing": true,
"bServerSide": true,
//"iDisplayLength": 5,
"bFilter": false,
"aaSorting": [],
"aoColumnDefs": [{ "bSortable": false, "aTargets": [2] }, ],
"sPaginationType": "full_numbers",
'oLanguage': {
'sEmptyTable': "No client's custom fields found."
},
"fnServerParams": function(aoData) {
//aoData.push( { "name": "somename", "value": somevalue } );
},
"sAjaxSource": "some.php"
});
但是$('#mytable').dataTable().ajax.reload()
无法正常工作。有人可以建议可能的解决方法吗?