Javascript 数据表长度菜单不工作-服务器端

Javascript 数据表长度菜单不工作-服务器端,javascript,php,jquery,html,datatables,Javascript,Php,Jquery,Html,Datatables,我想使用的是“lengthMenu”:[[10,25100200],[10,25100200],[10,25100200]。我正在数据表中使用服务器端。选项10、25和100正在工作,但当我选择200时,会出现一个错误,显示“在服务器中找不到数据” “处理”:true, “服务器端”:正确, “长度菜单”:[[10,25,50,159,500,-1],[10,25,50,159,500,“全部”], “延迟渲染”:正确, “scrollX”:正确, “ajax”:{ url:“服务器端CRM.

我想使用的是“lengthMenu”:[[10,25100200],[10,25100200],[10,25100200]。我正在数据表中使用服务器端。选项10、25和100正在工作,但当我选择200时,会出现一个错误,显示“在服务器中找不到数据”

“处理”:true,
“服务器端”:正确,
“长度菜单”:[[10,25,50,159,500,-1],[10,25,50,159,500,“全部”],
“延迟渲染”:正确,
“scrollX”:正确,
“ajax”:{
url:“服务器端CRM.php”,//json数据源
键入:“post”,//方法,默认为get
错误:函数(){//错误处理
$(“.crm表错误”).html(“”);
$(“#crm表”).append('在服务器中找不到数据');
$(“#crm-table_processing”).css(“显示”、“无”);
} 
},
"processing": true,
"serverSide": true,
"lengthMenu": [[10, 25, 50, 159, 500, -1], [10, 25, 50, 159, 500, "All"]], 
"deferRender": true,
"scrollX": true,
"ajax":{
    url :"server-side-CRM.php", // json datasource
    type: "post",  // method  , by default get
    error: function(){  // error handling
       $(".crm-table-error").html("");
        $("#crm-table").append('<tbody class="crm-table-error"><tr><th colspan="3">No data found in the server</th></tr></tbody>');
        $("#crm-table_processing").css("display","none");
    } 
},