]>
Commit | Line | Data |
---|---|---|
31f18b77 FG |
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="../../../media/js/jquery.js"></script> | |
10 | <script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script> | |
11 | <script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script> | |
12 | ||
13 | <title>Scroller examples - Scroller examples</title> | |
14 | </head> | |
15 | ||
16 | <body class="dt-example"> | |
17 | <div class="container"> | |
18 | <section> | |
19 | <h1>Scroller example <span>Scroller examples</span></h1> | |
20 | ||
21 | <div class="info"> | |
22 | <p>Scroller is a virtual rendering plug-in for DataTables which allows large datasets to be drawn on | |
23 | screen every quickly. What the virtual rendering means is that only the visible portion of the table | |
24 | (and a bit to either side to make the scrolling smooth) is drawn, while the scrolling container gives | |
25 | the visual impression that the whole table is visible. This is done by making use of the pagination | |
26 | abilities of DataTables and moving the table around in the scrolling container DataTables adds to the | |
27 | page. The scrolling container is forced to the height it would be for the full table display using an | |
28 | extra element.</p> | |
29 | ||
30 | <p>Scroller is initialised by simply including the letter <code>S</code> in the <a href= | |
31 | "//datatables.net/reference/option/dom"><code class="option" title= | |
32 | "DataTables initialisation option">dom<span>DT</span></code></a> for the table you want to have this | |
33 | feature enabled on. Note that the <code>S</code> must come after the <code>t</code> parameter in | |
34 | <a href="//datatables.net/reference/option/dom"><code class="option" title= | |
35 | "DataTables initialisation option">dom<span>DT</span></code></a>.</p> | |
36 | ||
37 | <p>Key features include:</p> | |
38 | ||
39 | <ul class="markdown"> | |
40 | <li>Speed! The aim of Scroller for DataTables is to make rendering large data sets fast</li> | |
41 | <li>Full compatibility with DataTables' deferred rendering for maximum speed</li> | |
42 | <li>Integration with state saving in DataTables (scrolling position is saved)</li> | |
43 | <li>Easy to use</li> | |
44 | </ul> | |
45 | </div> | |
46 | </section> | |
47 | </div> | |
48 | ||
49 | <section> | |
50 | <div class="footer"> | |
51 | <div class="gradient"></div> | |
52 | ||
53 | <div class="liner"> | |
54 | <div class="toc"> | |
55 | <div class="toc-group"> | |
56 | <h3><a href="./index.html">Examples</a></h3> | |
57 | <ul class="toc"> | |
58 | <li><a href="./simple.html">Basic initialisation</a></li> | |
59 | <li><a href="./state_saving.html">State saving</a></li> | |
60 | <li><a href="./large_js_source.html">Client-side data source (50,000 rows)</a></li> | |
61 | <li><a href="./server-side_processing.html">Server-side processing (5,000,000 | |
62 | rows)</a></li> | |
63 | <li><a href="./api_scrolling.html">API</a></li> | |
64 | </ul> | |
65 | </div> | |
66 | </div> | |
67 | ||
68 | <div class="epilogue"> | |
69 | <p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full | |
70 | information about its API properties and methods.<br> | |
71 | Additionally, there are a wide range of <a href="http://www.datatables.net/extras">extras</a> and | |
72 | <a href="http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of | |
73 | DataTables.</p> | |
74 | ||
75 | <p class="copyright">DataTables designed and created by <a href= | |
76 | "http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2014<br> | |
77 | DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p> | |
78 | </div> | |
79 | </div> | |
80 | </div> | |
81 | </section> | |
82 | </body> | |
83 | </html> |