jQuery Datatables responsive example
HTML
<script src="//code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css">
<link rel="stylesheet" href="//cdn.datatables.net/1.10.1/css/jquery.dataTables.css">
<script src="//cdn.datatables.net/1.10.1/js/jquery.dataTables.min.js"></script>
<link rel="stylesheet" href="//cdn.datatables.net/responsive/1.0.0/css/dataTables.responsive.css">
<script src="//cdn.datatables.net/responsive/1.0.0/js/dataTables.responsive.js"></script>
<table id="example" class="table table-striped table-bordered display responsive nowrap" width="100%">
<thead>
<tr>
<th>#</th>
<th>Date</th>
<th>Date</th>
<th>Data</th>
<th>Amount</th>
<th>Total</th>
<th class="none"></th>
</tr>
</thead>
<tbody>
<tr>
<td class='not-active'>001054921051</td>
<td>06/15/2016</td>
<td>07/06/2016</td>
<td>16.0</td>
<td>$31.34</td>
<td>$3,600.39</td>
<td><textarea name="ctl00$CPBody$rpInvoiceList$ctl01$tbClaimInfo" rows="2" cols="20" id="1" class="form-control input-sm noresize"></textarea>
</td>
</tr>
<tr>
<td class='not-active'>203690544756</td>
<td>05/16/2016</td>
<td>06/06/2016</td>
<td>16.0</td>
<td>$31.34</td>
<td>$3,569.05</td>
<td>
<textarea name="ctl00$CPBody$rpInvoiceList$ctl01$tbClaimInfo" rows="2" cols="20" id="1" class="form-control input-sm noresize"></textarea>
</td>
</tr>
<tr>
<td class='not-active'>001053728546</td>
<td>04/13/2016</td>
<td>05/04/2016</td>
<td>13.5</td>
<td>$23.48</td>
<td>$3,537.71</td>
<td>
<textarea name="ctl00$CPBody$rpInvoiceList$ctl01$tbClaimInfo" rows="2" cols="20" id="1" class="form-control input-sm noresize"></textarea>
</td>
</tr>
<tr>
<td class='not-active'>203170589584</td>
...
CSS
.not-active {
pointer-events: none;
cursor: default;
}
JavaScript
$(document).ready(function() {
$('#example').DataTable({
responsive: true,
"pagingType": "simple_numbers",
"order": [
[1, "desc"]
],
"lengthMenu": [3, 6, 12]
});
});