Skip to content

Commit 5a2a0ac

Browse files
committed
Upgraded the repository table to have pagination.
1 parent e29029a commit 5a2a0ac

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

public/OrgRepoGraph.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
<script src="js/profileGen.js"></script>
2020
<script src="js/createOrgTable.js"></script>
2121

22+
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.css"/>
23+
<script type="text/javascript" src="https://cdn.datatables.net/v/bs4/dt-1.10.18/datatables.min.js"></script>
24+
25+
26+
2227
<script type="text/javascript" src="js/vis/vis.js"></script>
2328
<link href="js/vis/vis-network.min.css" rel="stylesheet" type="text/css" />
2429

public/js/createOrgTable.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ function createOrgTable(orgName, tableContainer)
2222
}
2323

2424
$("#" + tableContainer).html(html);
25+
$('#dataTable').DataTable();
26+
2527
},
2628
function(error)
2729
{

0 commit comments

Comments
 (0)