Datatables Jquery capture clicking on pagination b

2019-08-29 05:30发布

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.

Regards,

Vaibhav

1条回答
放荡不羁爱自由
2楼-- · 2019-08-29 06:07

You can do this in the fnDrawCallback function

"fnDrawCallback": function () {
    $("#select-all-header").removeAttr("checked");
}
查看更多
登录 后发表回答