Datatables Jquery捕获点击分页按钮 [英] Datatables Jquery capture clicking on pagination buttons
本文介绍了Datatables Jquery捕获点击分页按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在分页数据表中遍历页面时取消选中标题复选框,即假设我已经检查了标题复选框,并使用分页按钮遍历到下一页或最后一页,现在我希望标题复选框被取消选择。
提前感谢您的帮助。
How to uncheck header checkbox while traversing pages in paginated datatable, i.e. suppose i have checked the header checkbox and traversed to next or last page using the pagination buttons, now i want the header checkbox to be unselected. Appreciate help in advance.
请问,
Vaibhav
推荐答案
您可以在fnDrawCallback函数中执行此操作
You can do this in the fnDrawCallback function
"fnDrawCallback": function () {
$("#select-all-header").removeAttr("checked");
}
这篇关于Datatables Jquery捕获点击分页按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文