jQuery Datatable无法正常工作 - 服务器端

时间:2014-09-17 13:26:32

标签: jquery jquery-datatables

我在jQuery数据表中使用服务器端分页,但它给我一个警告,

$('#reportsResults').dataTable({
    bJQueryUI: true,
    "bProcessing": true,
    "bDeferRender": true,
    bAutoWidth: false,
    "aoColumns": [
        { "mData": "userName"}, 
        { "mData": "action"},
        { "mData": "airlineCode" },
        { "mData": "companyName" },
        { "mData": "requestedDate" },
        { "mData": "processedDate" },
        { "mData": "days" },
        { "mData": "status" },
        { "mData": "profile" },
        { "mData": "mrtUser" }
    ],
    bServerSide: true,
    sAjaxSource: "/ReportsSearchResults",
    sServerMethod: "POST"
});    

请告诉我犯了什么错误 - 把我误解为Ajax。

0 个答案:

没有答案