简体   繁体   中英

How do i clear the server-side datatables table rows in client-side

I have tried to clear the server-side datatables on the client side using table.fnClearTable(); i have as well used table.clear().draw(); but i havent had any success with it any one who can help me out that has used server-side datatables. I want to as well filter the table content by date that appears in one of the columns.

I'll be glad with your help.

You can refresh the table using

$('#table_id').DataTable().ajax.reload();

function which will dynamically refresh.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM