title: how to enable and disable paging from jquery dataTables on button click
body: <p>Following is the code found in data table website in order to remove the paging.</p>
  
  <pre><code>    $(document).ready(function() {
      $('#example').DataTable( {
          "paging":   false
      } );
  } );
  </code></pre>
  
  <p>My question is how to <strong>enable and disable paging on button click</strong>.</p>
  
  <p>as when i call DataTable function <strong>second time</strong> to same table. It shows <strong>error</strong> that data table is already initiated and im calling it second time.</p>