Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery 数据表回调_Jquery_Datatables - Fatal编程技术网

Jquery 数据表回调

Jquery 数据表回调,jquery,datatables,Jquery,Datatables,我正在尝试在我的应用程序中使用jquery datatable。我设法让它与服务器数据更新完美配合 用于创建表的javascript如下所示 jQuery(function() { return $('#example').dataTable({ sPaginationType: "full_numbers", bProcessing: true, bServerSide: true, bRetrieve: true }); }).

我正在尝试在我的应用程序中使用jquery datatable。我设法让它与服务器数据更新完美配合

用于创建表的javascript如下所示

jQuery(function() {
    return $('#example').dataTable({
      sPaginationType: "full_numbers",
      bProcessing: true,
      bServerSide: true,
      bRetrieve: true
    });
}).call(this);
问题是,我需要在javascript中添加一个钩子,以便在从服务器更新表数据后更新另一个页面元素,这是您的回调:

"fnDrawCallback" : function(oSettings) {
    // Update the element
}

不确定,请尝试
finitcomplete
如果这不起作用,请从这里尝试其他方法