开发者

Datatables Jquery capture clicking on pagination buttons

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜