| 2 |
lars |
1 |
<!DOCTYPE html>
|
|
|
2 |
<html>
|
|
|
3 |
<head>
|
|
|
4 |
<meta charset="utf-8">
|
|
|
5 |
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
|
|
6 |
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
|
|
7 |
<link rel="stylesheet" type="text/css" href="../../../../examples/resources/syntax/shCore.css">
|
|
|
8 |
<link rel="stylesheet" type="text/css" href="../../../../examples/resources/demo.css">
|
|
|
9 |
<script type="text/javascript" language="javascript" src="../../../../examples/resources/syntax/shCore.js"></script>
|
|
|
10 |
<script type="text/javascript" language="javascript" src="../../../../examples/resources/demo.js"></script>
|
|
|
11 |
|
|
|
12 |
<title>Responsive examples - Initialisation</title>
|
|
|
13 |
</head>
|
|
|
14 |
|
|
|
15 |
<body class="dt-example">
|
|
|
16 |
<div class="container">
|
|
|
17 |
<section>
|
|
|
18 |
<h1>Responsive example <span>Initialisation</span></h1>
|
|
|
19 |
|
|
|
20 |
<div class="info">
|
|
|
21 |
<p>Responsive can be run on a DataTable in a number of different ways:</p>
|
|
|
22 |
|
|
|
23 |
<ul class="markdown">
|
|
|
24 |
<li>By adding the class <code>responsive</code> or <code>dt-responsive</code> to the <code class="tag" title="HTML tag">table</code></li>
|
|
|
25 |
<li>Using the <a href="//datatables.net/extensions/responsive/reference/option/responsive"><code class="option" title=
|
|
|
26 |
"Responsive initialisation option">responsive<span>R</span></code></a> option in the DataTables initialisation</li>
|
|
|
27 |
<li>Use the <code>$.fn.dataTable.Responsive</code> constructor.</li>
|
|
|
28 |
</ul>
|
|
|
29 |
|
|
|
30 |
<p>This set of examples demonstrates these initialisation options.</p>
|
|
|
31 |
</div>
|
|
|
32 |
</section>
|
|
|
33 |
</div>
|
|
|
34 |
|
|
|
35 |
<section>
|
|
|
36 |
<div class="footer">
|
|
|
37 |
<div class="gradient"></div>
|
|
|
38 |
|
|
|
39 |
<div class="liner">
|
|
|
40 |
<div class="toc">
|
|
|
41 |
<div class="toc-group">
|
|
|
42 |
<h3><a href="./index.html">Basic initialisation</a></h3>
|
|
|
43 |
<ul class="toc">
|
|
|
44 |
<li><a href="./className.html">Class name</a></li>
|
|
|
45 |
<li><a href="./option.html">Configuration option</a></li>
|
|
|
46 |
<li><a href="./new.html">`new` constructor</a></li>
|
|
|
47 |
<li><a href="./ajax.html">Ajax data</a></li>
|
|
|
48 |
<li><a href="./default.html">Default initialisation</a></li>
|
|
|
49 |
</ul>
|
|
|
50 |
</div>
|
|
|
51 |
</div>
|
|
|
52 |
|
|
|
53 |
<div class="epilogue">
|
|
|
54 |
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
|
|
55 |
Additionally, there are a wide range of <a href="http://www.datatables.net/extras">extras</a> and <a href="http://www.datatables.net/plug-ins">plug-ins</a>
|
|
|
56 |
which extend the capabilities of DataTables.</p>
|
|
|
57 |
|
|
|
58 |
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
|
|
59 |
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
|
|
60 |
</div>
|
|
|
61 |
</div>
|
|
|
62 |
</div>
|
|
|
63 |
</section>
|
|
|
64 |
</body>
|
|
|
65 |
</html>
|