title: DataTables warning: table id=example - Cannot reinitialise DataTable. For more information
body: <p>I am using angular 4 with data table ... Right side scroll bar is not working. When I add this the in my data table I am getting this error. how can I solve this? 
  this is my code 
  <code>
  $(document).ready(function() {
      $('#example').DataTable( {
          "scrollX": true
      } );
  } );
  </code></p>
  
  <p><code>&lt;table id="example" class="display nowrap" cellspacing="0" width="100%"&gt;</code></p>
  
  <p>I am getting a message in an alert on my browser "<strong>DataTables warning: table id=example - Cannot reinitialise DataTable. For more information</strong>"</p>
  
  <p>I am using this data table <a href="https://l-lin.github.io/angular-datatables/#/extensions/select" rel="nofollow noreferrer">enter link description here</a></p>