vendredi 17 novembre 2017

check and uncheck all the checkboxes in server side processing jquery datatable when paging happens also using jquery

When I click on header section checkbox I need to check all the checkboxes in all pages in jquery data table in server-side processing.but didn't get it

Header section:

<th><input name="select_all"  type="checkbox" id="selectall"></th>

body section:

"columns": [
            {
                'render': function (data, type, full, meta){
                     return '<input type="checkbox">';
                }
            }, 

can u suggest the valuable jquery code to check all checkboxes in all pages in serverside processing using jquery. Thanks

Aucun commentaire:

Enregistrer un commentaire