title: Jquery + Datatables: enable/disable ALL checkboxes
body: <p>Hi everybody I have a struggling problem that makes me "crazy". I used the following code to create  instead of using the 'css' version of checkbox, used in DataTables js plugin, and set all of them DISABLED:</p>
  
  <pre><code>table = $('#DISCOVEREDSW').DataTable(
  {
      paging: true,
      "processing": true,
      "ajax": "catalogo_discoveredSw.php",
      "deferLoading": 57,
      "deferRender": true,
      "scrollY": 350,
      "iDisplayLength": 100,
      "scrollX": true,
      "bRetrieve": true,
      "bDestroy": true,
      "ordering": true,
      "info":     true,
      "sDom":     'ltipr',
      "bDestroy": true,
      'columnDefs': [{
          'targets': 0,
          'searchable':false,
          'orderable':false,
          'className': 'dt-body-center',
          'render': function (data, type, full, meta){
              return '&lt;input class="checkCompSw" disabled="true" type="checkbox" name="id[]" value="' + $('&lt;div/&gt;').text(data).html() + '"&gt;';
          }
      }]
  }
  </code></pre>
  
  <p>I would like to set DISABLED = false to ALL THE checkboxes so I try:</p>
  
  <pre><code>&lt;script&gt;
      $(document).ready(function() {
          $('#associaDissociaApp').click(function()
          {
              $('#applicationBox').show("slow","linear");
              $('.checkCompSw').prop('disabled', false);
              $('#annulla').click(function() {
                  $('#applicationBox').hide("slow","linear");
                  $('.checkCompSw').prop('disabled', true);
              });
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>The real problem is that <strong>only THE SHOWN CHECKBOXES ARE SET DISABLED=FALSE</strong>: I mean, if I move between the other pages all the checkboxes are still disabled and only in the <strong>first page I see all the checkbox enabled.</strong> Of course, I need a script to make all of them disabled again when I click on a button to disable them again.</p>
  
  <p>Someone could please help me to figure it out?</p>
  
  <p>Many thanks in advance. :)</p>