mardi 1 mai 2018

How to select checkboxes in all the pages via datatable serverside processing

Does datatable serverside process support select all checkboxes in all pages . I have a checkbox column where I want an option to let user to select all checkboxes. currently it only checked the current pages boxes only Please advice

var this = $('#user').DataTable({
    "responsive": true,
    "processing": true,
    "serverSide": true,
    "info": true,
    "order": [[8, 'desc' ]],
    "dom": '<"top"flip>rt<"bottom"flp>',
    "ajax": {
        url: '/user/userData',
        type: 'POST'
    },

    "pageLength": 25,
    "sPaginationType": "full_numbers",
    "columns": [
        {
            "data": "id",
            "width": "0.02%",
            "sortable": false,
            "checkboxes": {
                "selectRow": false
            }
        },




Aucun commentaire:

Enregistrer un commentaire