Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 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="../resources/syntax/shCore.css"> |
||
| 8 | <link rel="stylesheet" type="text/css" href="../resources/demo.css"> |
||
| 9 | <script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script> |
||
| 10 | <script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js"></script> |
||
| 11 | <script type="text/javascript" language="javascript" src="../resources/demo.js"></script> |
||
| 12 | |||
| 13 | <title>DataTables examples - Data sources</title> |
||
| 14 | </head> |
||
| 15 | |||
| 16 | <body class="dt-example"> |
||
| 17 | <div class="container"> |
||
| 18 | <section> |
||
| 19 | <h1>DataTables example <span>Data sources</span></h1> |
||
| 20 | |||
| 21 | <div class="info"> |
||
| 22 | <p>DataTables can obtain data from four different fundamental sources:</p> |
||
| 23 | |||
| 24 | <ul class="markdown"> |
||
| 25 | <li>HTML document (DOM)</li> |
||
| 26 | <li>Javascript (array / objects)</li> |
||
| 27 | <li>Ajax sourced data with client-side processing</li> |
||
| 28 | <li>Ajax sourced data with server-side processing</li> |
||
| 29 | </ul> |
||
| 30 | |||
| 31 | <p>Which of these options is used to populate the table with data depends upon how the table is |
||
| 32 | initialised. The examples in this section show these four different data source types.</p> |
||
| 33 | </div> |
||
| 34 | </section> |
||
| 35 | </div> |
||
| 36 | |||
| 37 | <section> |
||
| 38 | <div class="footer"> |
||
| 39 | <div class="gradient"></div> |
||
| 40 | |||
| 41 | <div class="liner"> |
||
| 42 | <div class="toc"> |
||
| 43 | <div class="toc-group"> |
||
| 44 | <h3><a href="./index.html">Data sources</a></h3> |
||
| 45 | <ul class="toc"> |
||
| 46 | <li><a href="./dom.html">HTML (DOM) sourced data</a></li> |
||
| 47 | <li><a href="./ajax.html">Ajax sourced data</a></li> |
||
| 48 | <li><a href="./js_array.html">Javascript sourced data</a></li> |
||
| 49 | <li><a href="./server_side.html">Server-side processing</a></li> |
||
| 50 | </ul> |
||
| 51 | </div> |
||
| 52 | </div> |
||
| 53 | |||
| 54 | <div class="epilogue"> |
||
| 55 | <p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full |
||
| 56 | information about its API properties and methods.<br> |
||
| 57 | Additionally, there are a wide range of <a href="http://www.datatables.net/extras">extras</a> and |
||
| 58 | <a href="http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of |
||
| 59 | DataTables.</p> |
||
| 60 | |||
| 61 | <p class="copyright">DataTables designed and created by <a href= |
||
| 62 | "http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2014<br> |
||
| 63 | DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p> |
||
| 64 | </div> |
||
| 65 | </div> |
||
| 66 | </div> |
||
| 67 | </section> |
||
| 68 | </body> |
||
| 69 | </html> |