x
 
1
<!DOCTYPE html>
2
<title>My Example</title>
3
4
<!-- Latest compiled and minified Bootstrap CSS -->
5
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
6
7
<style>
8
body {
9
padding-top: 1em;
10
}   
11
</style> <div class="container-fluid">
12
        
13
<div class="table-responsive">
14
<table class="table">
15
<thead>
16
<tr>
17
<th>Header 1</th>
18
<th>Header 2</th>
19
<th>Header 3</th>
20
<th>Header 4</th>
21
<th>Header 5</th>
22
<th>Header 6</th>
23
<th>Header 7</th>
24
<th>Header 8</th>
25
<th>Header 9</th>
26
<th>Header 10</th>
27
</tr>
28
</thead>
29
<tbody>
30
<tr>
31
<td>Cell</td>
32
<td>Cell</td>
33
<td>Cell</td>
34
<td>Cell</td>
35
<td>Cell</td>
36
<td>Cell</td>
37
<td>Cell</td>
38
<td>Cell</td>
39
<td>Cell</td>
40
<td>Cell</td>
41
</tr>
42
<tr>
43
<td>Cell</td>
44
<td>Cell</td>
45
<td>Cell</td>
46
<td>Cell</td>
47
<td>Cell</td>
48
<td>Cell</td>
49
<td>Cell</td>
50
<td>Cell</td>
51
<td>Cell</td>
52
<td>Cell</td>
53
</tr>
54
<tr>
55
<td>Cell</td>
56
<td>Cell</td>
57
<td>Cell</td>
58
<td>Cell</td>
59
<td>Cell</td>
60
<td>Cell</td>
61
<td>Cell</td>
62
<td>Cell</td>
63
<td>Cell</td>
64
<td>Cell</td>
65
</tr>
66
</tbody>
67
</table>
68
</div>
69
70
</div>
71
        
72
<!-- jQuery library -->
73
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
74
75
<!-- Popper -->
76
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
77
78
<!-- Latest compiled and minified Bootstrap JavaScript -->
79
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
80
81
<!-- Initialize Bootstrap functionality -->
82
<script>
83
// Initialize tooltip component
84
$(function () {
85
  $('[data-toggle="tooltip"]').tooltip()
86
})
87
88
// Initialize popover component
89
$(function () {
90
  $('[data-toggle="popover"]').popover()
91
})
92
</script>