JSFiddle - React, Tailwind, and code Playground

by Muhammad Mushtaq Sheikh

HTML

<link rel="stylesheet" href="//cdn.datatables.net/1.10.7/css/jquery.dataTables.min.css">
<script src="http://cdn.datatables.net/1.10.5/js/jquery.dataTables.js"></script>
<table id="example">
   <thead>
      <tr>
         <th>Name</th>
         <th>Position</th>
         <th>Office</th>
         <th>Age</th>
         <th>Start date</th>
         <th>Salary</th>
      </tr>
   </thead>
   <tbody>
      <tr>
         <td>Garrett Winters</td>
         <td>System Architect</td>
         <td>Edinburgh</td>
         <td>2011/04/25</td>
         <td>$320,800</td>
      </tr>
      <tr>

         <td>Tiger Nixon</td>
         <td>Accountant</td>
         <td>Tokyo</td>
         <td>63</td>
         <td>2011/07/25</td>
         <td>$170,750</td>
      </tr>
   </tbody>
</table>

JavaScript

$.fn.dataTable.ext.errMode = 'none';

$('#example').on('error.dt', function(e, settings, techNote, message) {
   console.log('An error has been reported by DataTables: ', message);
}).DataTable();