reload datatable after ajax success

后端 未结 8 884
借酒劲吻你
借酒劲吻你 2020-12-11 05:39

I use JQuery DataTable. I send data to datatable onclick in json file at ajax succes .the first click everything is good,But the next click I get only the right data ANd wro

8条回答
  •  孤城傲影
    2020-12-11 06:21

    .reload() is not working properly untill we pass some parameter

    var  = $("#example").DataTable() ;
    datatbale_name.ajax.reload(null, false );
    

提交回复
热议问题