[英]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();
我试图使用table.fnClearTable();
清除客户端上的服务器端数据table.fnClearTable();
i have as well used table.clear().draw();
我也使用过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. 该功能将动态刷新。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.