forked from l-lin/angular-datatables
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzeroConfig.html
More file actions
79 lines (79 loc) · 2.17 KB
/
zeroConfig.html
File metadata and controls
79 lines (79 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<article class="main-content">
<header class="article-header">
<h1><i class="fa fa-play"></i> Zero configuration</h1>
</header>
<section class="article-content">
<p>
The <code>angular-datatables</code> provides a <code>datatables</code> directive you can add to your <code><table></code>:
</p>
</section>
<section class="showcase">
<tabset>
<tab heading="Preview">
<article class="preview">
<table datatable class="row-border hover">
<thead>
<tr>
<th>ID</th>
<th>First name</th>
<th>Last name</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Foo</td>
<td>Bar</td>
</tr>
<tr>
<td>123</td>
<td>Someone</td>
<td>Youknow</td>
</tr>
<tr>
<td>987</td>
<td>Iamout</td>
<td>Ofinspiration</td>
</tr>
</tbody>
</table>
</article>
</tab>
<tab heading="HTML">
<div hljs>
<table datatable class="row-border hover">
<thead>
<tr>
<th>ID</th>
<th>First name</th>
<th>Last name</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Foo</td>
<td>Bar</td>
</tr>
<tr>
<td>123</td>
<td>Someone</td>
<td>Youknow</td>
</tr>
<tr>
<td>987</td>
<td>Iamout</td>
<td>Ofinspiration</td>
</tr>
</tbody>
</table>
</div>
</tab>
<tab heading="JS">
<div hljs language="js">
angular.module('showcase', ['datatables']);
</div>
</tab>
</tabset>
</section>
</article>