I have used checkbox to select full row using datatable jquery like this
columnDefs: [{
className: 'select-checkbox custon-user',
targets: 0,
'checkboxes': {
'selectRow': true
}
}],
'select': {
style: 'multi',
selector: 'td:first-child'
},
But when I click any of the checkbox of any row of datatable, the check-all checkbox auto checked. For example, If I click 2nd row checkbox, then check-all checkbox(on table heading) auto checked.
I tried to uncheck it using custom jquery, but since it's server side datatable, html generates after page load, so my custom jquery is not putting any impact on checkbox.
How I can stop check-all checkbox from auto checked?