开发者

Datatables Jquery capture clicking on pagination buttons

开发者 https://www.devze.com 2023-03-10 14:21 出处:网络
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 wan

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.

Regar开发者_如何学Cds,

Vaibhav


You can do this in the fnDrawCallback function

"fnDrawCallback": function () {
    $("#select-all-header").removeAttr("checked");
}
0

精彩评论

暂无评论...
验证码 换一张
取 消