How to deselect all selected checkboxes by hitting the header checkboxes
How to deselect all selected checkboxes by hitting the header checkboxes

Hi. I'm implementing asp.net core 3.1 and using JQuery DataTable. I'm using Gyrocode checkbox and right now my problem is I want if the user hits the header checkbox, all the selected checkboxes in different pages get to be deselected. I know with the below expression I can deselect all checkboxes in different pages. But I want to know how I can say if the header checkbox hitted by user, the system should run the below expression.
//if(the header checkbox hitted by user) do the following:
DataTable.column(0).checkboxes.deselectAll(true);
Replies
This Gyrocode checkboxes example will uncheck all checkboxes by clicking the header checkbox. For support with this plugin you will need to ask the developer by clicking the
Report a Bug
button on the example page I linked.Kevin