找不到解决方案DataTable()。ajax.reload()不起作用

时间:2019-03-14 13:08:25

标签: javascript php jquery

我有数据表-

$('#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()无法正常工作。有人可以建议可能的解决方法吗?

0 个答案:

没有答案