DataTables

DataTables Examples

HTML

<link rel="stylesheet" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.0/css/jquery.dataTables.css">
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js"></script>
<script src="//cdn.datatables.net/1.10.7/js/jquery.dataTables.min.js"></script>
<div class="container">
            
<table class="dataTable" id="example">
    <thead>
        <tr>
            <th>Rendering engine</th>
            <th>Browser</th>
            <th>Platform(s)</th>
        </tr>
    </thead>
</table>

JavaScript

$(document).ready(function() {
  $('#example').dataTable({
     searching: true,
     paging: false,
     "sDom": "t",
     "bFilter": false,
     "info": false,
     "sScrollY": 200,
    "oScroller": {
       "rowHeight": 20,
    },
    "ajax": {
       url: '/echo/json/',
       type: 'POST'
    },
      stateSave: true,
    "processing": true,
     "serverSide": true,
  });
})