title: disable pagination if there is only one page in datatables
body: <p>I am implementing datatbales and according to my requirement, most of the things have been resolved except the pagination issue. In my case for every time pagination navigation is displaying. I want to disable the pagination navigation if there is only one page at all.How to do that? My code is like:</p>
  
  <p><strong>JS</strong></p>
  
  <pre><code>&lt;script&gt;
    function fnFilterColumn(i) {
  
      $('#example').dataTable().fnFilter(
        $("#col" + (i + 1) + "_filter").val(),
        i
      );
    }
    $(document).ready(function() {
  
  
      $('#example').dataTable({
        "bProcessing": true,
        "sAjaxSource": "datatable-interestdb.php",
        "bJQueryUI": true,
        "sPaginationType": "full_numbers",
        "sDom": 'T&lt;"clear"&gt;lfrtip',
        "oTableTools": {
          "aButtons": [
  
            {
              "sExtends": "csv",
              "sButtonText": "Save to CSV"
            }
          ]
        },
        "oLanguage": {
          "sSearch": "Search all columns:"
        }
  
  
      });
  
  
      $("#example").dataTable().columnFilter({
        aoColumns: [
          null,
          null,
          null,
          null
        ]
      });
  
  
      $("#col1_filter").keyup(function() {
        fnFilterColumn(0);
      });
  
    });
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;table cellpadding="3" cellspacing="0" border="0" class="display userTable" aria-describedby="example_info"&gt;
  
    &lt;tbody&gt;
      &lt;tr id="filter_col1"&gt;
        &lt;td&gt;Interest:&lt;/td&gt;
        &lt;td&gt;
          &lt;input type="text" name="col1_filter" id="col1_filter"&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  
  
  &lt;table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="form_table display" id="example"&gt;
  
    &lt;thead&gt;
      &lt;tr&gt;
        &lt;th class="sorting_asc" width="25%"&gt;Interest&lt;/th&gt;
        &lt;th width="25%"&gt;Name&lt;/th&gt;
        &lt;th width="25%"&gt;Email&lt;/th&gt;
        &lt;th width="25%"&gt;Contact No&lt;/th&gt;
      &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
  
      &lt;tr&gt;
        &lt;td colspan="4" class="dataTables_empty"&gt;Loading data from server&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
    &lt;tfoot&gt;
      &lt;tr&gt;
        &lt;th&gt;&lt;/th&gt;
        &lt;th&gt;&lt;/th&gt;
        &lt;th&gt;&lt;/th&gt;
        &lt;th&gt;&lt;/th&gt;
      &lt;/tr&gt;
    &lt;/tfoot&gt;
  
  
  &lt;/table&gt;
  </code></pre>