Get started with datatables.net CDN
MIT licensed
Datatables.net: Open-source library for interactive HTML tables with sorting, searching, and pagination.
Tags:- filter
- sort
- jQuery
- table
- DataTables
Stable version
Copied!
How to start using datatables.net CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with datatables.net CDN - cdnhub.io</title>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.11.5/css/jquery.dataTables.min.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.cdnhub.io/datatables.net/2.1.1/dataTables.min.js"></script>
</head>
<body>
<table id="example" class="display" style="width:100%">
<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>Tiger Nixon</td>
<td>System Architect</td>
<td>Edinburgh</td>
<td>54</td>
<td>2011/04/25</td>
<td>$320,800</td>
</tr>
<!-- Add more data rows here -->
</tbody>
</table>
<script>
$(document).ready( function () {
$('#example').DataTable();
});
</script>
</body>
</html>
Copied!
Copied!
All versions
1.10.12
1.10.13
1.10.14
1.10.15
1.10.16
1.10.18
1.10.19
1.10.20
1.10.21
1.10.22
1.10.23
1.10.24
1.10.25
1.11.0
1.11.1
1.11.2
1.11.3
1.11.4
1.11.5
1.12.0
1.12.1
1.13.0
1.13.1
1.13.10
1.13.11
1.13.2
1.13.3
1.13.4
1.13.5
1.13.6
1.13.7
1.13.8
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
*** 2.1.8