JSFiddle - React, Tailwind, and code Playground
by CJ Juarez
HTML
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.10.16/js/dataTables.bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<table id="example" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
<th>#</th>
<th>Status</th>
<th>Date</th>
<th>Route</th>
<th>Notes</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td><span class="label label-default">Returned</span></td>
<td>03-20-2018 00:00:00</td>
<td>Bonifacio Global City - SM Megamall</td>
<td>Notes</td>
<td><button class="btn btn-default btn-xs"><i class="fa fa-pencil fa-fw"></i></button> <button class="btn btn-danger btn-xs">
<i class="fa fa-trash fa-fw"></i>
</button></td>
</tr>
<tr>
<td>1</td>
<td><span class="label label-default">Returned</span></td>
<td>03-20-2018 00:00:00</td>
<td>Bonifacio Global City - SM Megamall</td>
<td>Notes</td>
<td><button class="btn btn-default btn-xs"><i class="fa fa-pencil fa-fw"></i></button> <button class="btn btn-danger btn-xs">
<i class="fa fa-trash fa-fw"></i>
</button></td>
</tr>
<tr>
<td>2</td>
<td><span class="label...
CSS
body {
margin: 50px;
}
JavaScript
$(document).ready(function() {
$('#example').DataTable();
} );