2016-04-04 23 views

回答

1

你可以使用Keep Conditions插件jQuery DataTables。

您需要包含插件JS文件並使用keepConditions: true選項啓用它,如下所示。

var table = $('#example').DataTable({ 
    keepConditions: true 
}); 

查看this example的代碼和演示。