私は一日中研究しました。おそらくjQueryは大規模な
人の数、しかし私は 'シングル'のブログを見つけることができませんでした
あなたのhtml/jspにインポートされるすべての "最小限の"もの
jQueryのdatatable機能を利用しています...
これを小さなhtmlページに以下のようにコンパイルします(これは完全です
働いているものなので、ここから始めて、あなたの方法で構築してください。)
<div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<head>
<script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script src="https://cdn.datatables.net/1.10.11/js/jquery.dataTables.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.2/css/jquery.dataTables.min.css">
<script type="text/javascript">
$(document).ready(function() {
$("#companies").dataTable({
"sPaginationType": "full_numbers",
"bJQueryUI": true
});
});
</script>
</head>
<body id="dt_example">
<div id="container">
<div id="demo_jui">
<table id="companies" class="display">
<thead>
<tr>
<th>Company name</th>
<th>Address</th>
<th>Town</th>
</tr>
</thead>
<tbody>
<tr>
<th>Atlassian</th>
<th>Paramatta</th>
<th>Sydney</th>
</tr>
<tr>
<th>Oracle</th>
<th>Whitefield</th>
<th>India</th>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>
</div>
</div>