index.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. <title>DataTables examples - Ajax sourced data</title>
  13. </head>
  14. <body class="dt-example">
  15. <div class="container">
  16. <section>
  17. <h1>DataTables example <span>Ajax sourced data</span></h1>
  18. <div class="info">
  19. <p>DataTables can read data from a server via Ajax, while still performing searching, ordering, paging
  20. etc on the client-side. This is done through use of the <a href=
  21. "//datatables.net/reference/option/ajax"><code class="option" title=
  22. "DataTables initialisation option">ajax<span>DT</span></code></a> option, which has a number of options
  23. to customise how the data is retrieved from the server.</p>
  24. <p>The examples in this section demonstrate the use of Ajax loading data in DataTables, with
  25. client-side processing.</p>
  26. </div>
  27. </section>
  28. </div>
  29. <section>
  30. <div class="footer">
  31. <div class="gradient"></div>
  32. <div class="liner">
  33. <div class="toc">
  34. <div class="toc-group">
  35. <h3><a href="./index.html">Ajax</a></h3>
  36. <ul class="toc">
  37. <li><a href="./simple.html">Ajax data source (arrays)</a></li>
  38. <li><a href="./objects.html">Ajax data source (objects)</a></li>
  39. <li><a href="./deep.html">Nested object data (objects)</a></li>
  40. <li><a href="./objects_subarrays.html">Nested object data (arrays)</a></li>
  41. <li><a href="./orthogonal-data.html">Orthogonal data</a></li>
  42. <li><a href="./null_data_source.html">Generated content for a column</a></li>
  43. <li><a href="./custom_data_property.html">Custom data source property</a></li>
  44. <li><a href="./custom_data_flat.html">Flat array data source</a></li>
  45. <li><a href="./defer_render.html">Deferred rendering for speed</a></li>
  46. </ul>
  47. </div>
  48. </div>
  49. <div class="epilogue">
  50. <p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full
  51. information about its API properties and methods.<br>
  52. Additionally, there are a wide range of <a href="http://www.datatables.net/extras">extras</a> and
  53. <a href="http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of
  54. DataTables.</p>
  55. <p class="copyright">DataTables designed and created by <a href=
  56. "http://www.sprymedia.co.uk">SpryMedia Ltd</a> &#169; 2007-2014<br>
  57. DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
  58. </div>
  59. </div>
  60. </div>
  61. </section>
  62. </body>
  63. </html>