JSFiddle - React, Tailwind, and code Playground
by umadevi
HTML
<link rel="stylesheet" href="https://cdn.datatables.net/1.7.5/css/demo_table.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.7.5/css/demo_table_jui.css">
<script src="https://cdn.datatables.net/1.7.5/js/jquery.dataTables.min.js"></script>
<table id="myTable">
<thead>
<tr>
<th>Header</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
JavaScript
$(document).ready(function(){
console.log()
var oDTOptions = {};
oDTOptions = {
"oLanguage": {
"sInfoEmpty": "Showing 0 to 0 of 0",
"sInfo": "Showing _START_ to _END_ of _TOTAL_"
}
};
var table = $('#myTable').dataTable(oDTOptions);
});