How to reload the datatable(jquery) data?

后端 未结 10 2511
萌比男神i
萌比男神i 2020-12-05 05:39

How to reload the selected tab? Actually I have problem with reloading part. When I add my data I\'ll successfully saved in datatable but in id field in database it shows pr

10条回答
  •  悲&欢浪女
    2020-12-05 05:54

    I'm posting this just in case someone need it..

    Just create a button:

    
    

    but don't forget to add this when calling the datatable:

    mytable = $("#mytable").dataTable();
    

提交回复
热议问题