JSFiddle - React, Tailwind, and code Playground

by yaksey

HTML

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css">
<script src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js"></script>
<table id="example" class="display" cellspacing="0" width="100%">
  <thead>
    <tr>
      <th>Product</th>
      <th>Step 1</th>
      <th>Step 2</th>
      <th>Step 3</th>
      <th>Step 4</th>
      <th>Step 5</th>
    </tr>
  </thead>
  <tfoot>
    <tr>
      <th>Product</th>
      <th>Step 1</th>
      <th>Step 2</th>
      <th>Step 3</th>
      <th>Step 4</th>
      <th>Step 5</th>
    </tr>
    <tbody>
      <tr>
        <td>1. One</td>
        <td>ks, 01.10.</td>
        <td>ks, 02.10.</td>
        <td>ks, 04.10.</td>
        <td>ks, 04.10.</td>
        <td></td>
      </tr>
      <tr>
        <td>2. Two</td>
        <td>ks, 26.09.</td>
        <td>ks, 30.09.</td>
        <td></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td>3. Three</td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td>4. Four</td>
        <td>ks, 01.10.</td>
        <td>ks, 02.10.</td>
        <td></td>
        <td></td>
        <td></td>
      </tr>
    </tbody>
</table>

JavaScript

$(document).ready(function() {
  var table = $('#example').DataTable();
});