Cannot reinitialise JQuery DataTable

前端 未结 9 542
北恋
北恋 2020-12-13 19:32

I\'m using jquery datatables to display data inside grid. On init page load script take DateTime.Today and process them further, problem is after init page load, when I\'m t

9条回答
  •  时光说笑
    2020-12-13 20:05

    Clear the existing dataTable:

    $(this).dataTable().fnClearTable();
    $(this).dataTable().fnDestroy();
    

提交回复
热议问题