JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://cdn.datatables.net/1.10.7/js/jquery.dataTables.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.7/css/jquery.dataTables.min.css">
<table id="example">
<thead>
  <tr>
    <th>header 1</th>
  </tr>
</thead>
<tbody>
  <tr>
    <td>cell 1</td>
  </tr>
</tbody>
</table>

JavaScript

$(document).ready(function() {
    var table = $('#example').dataTable( {
        scrollY: 300,
        paging: false
    });
    var settings = table.fnSettings();
    //alert(settings)
});