editable.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  5. <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/media/images/favicon.ico" />
  6. <title>DataTables example</title>
  7. <style type="text/css" title="currentStyle">
  8. @import "../../media/css/demo_page.css";
  9. @import "../../media/css/demo_table.css";
  10. </style>
  11. <script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
  12. <script type="text/javascript" language="javascript" src="../examples_support/jquery.jeditable.js"></script>
  13. <script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
  14. <script type="text/javascript" charset="utf-8">
  15. $(document).ready(function() {
  16. /* Init DataTables */
  17. var oTable = $('#example').dataTable();
  18. /* Apply the jEditable handlers to the table */
  19. oTable.$('td').editable( '../examples_support/editable_ajax.php', {
  20. "callback": function( sValue, y ) {
  21. var aPos = oTable.fnGetPosition( this );
  22. oTable.fnUpdate( sValue, aPos[0], aPos[1] );
  23. },
  24. "submitdata": function ( value, settings ) {
  25. return {
  26. "row_id": this.parentNode.getAttribute('id'),
  27. "column": oTable.fnGetPosition( this )[2]
  28. };
  29. },
  30. "height": "14px",
  31. "width": "100%"
  32. } );
  33. } );
  34. </script>
  35. </head>
  36. <body id="dt_example">
  37. <div id="container">
  38. <div class="full_width big">
  39. DataTables editing example
  40. </div>
  41. <h1>Preamble</h1>
  42. <p>Using DataTables in-combination with the excellent <a href="http://www.appelsiini.net/projects/jeditable">jEditable</a> plugin for jQuery allows you to produce a table which can have individual cells edited. The table can then be updated such that filtering, sorting etc. will all work as expected. This is showing in the demo below.</p>
  43. <p>The example shows how a table element can be edited (you could limit to a particular column if you wish using the selector), posted to the server (for saving in a database or whatever) and then placed back into the DataTable. The server's processing in this example simply appends the string '(server updated)' to indicate that something has happened on the server.</p>
  44. <p>Note also that this example makes use of the information in the 'ID' attribute of the TR element. This is useful in order to tell the server what row is being updated - this can readily be expended to include column information as required. Further to this, it is worth noting that to use this type of example with DataTables' server-side processing option, you must use <a href="http://datatables.net/usage/callbacks#fnDrawCallback">fnDrawCallback</a> to apply the event listeners on each draw.</p>
  45. <p>Finally, if you are interested in a full <a href="http://en.wikipedia.org/wiki/Create,_read,_update_and_delete">CRUD</a> implementation for DataTables, check out the <a href="http://editor.datatables.net">Editor plug-in for DataTables</a>, which provides a flexible and easy to use create, edit and delete environment for DataTables controlled tables with full server interaction.</p>
  46. <h1>Live example</h1>
  47. <div id="demo">
  48. <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
  49. <thead>
  50. <tr>
  51. <th>Rendering engine</th>
  52. <th>Browser</th>
  53. <th>Platform(s)</th>
  54. <th>Engine version</th>
  55. <th>CSS grade</th>
  56. </tr>
  57. </thead>
  58. <tbody>
  59. <tr id="1" class="gradeX">
  60. <td>Trident</td>
  61. <td>Internet
  62. Explorer
  63. 4.0
  64. </td>
  65. <td>Win 95+</td>
  66. <td class="center">4</td>
  67. <td class="center">X</td>
  68. </tr>
  69. <tr id="2" class="gradeC">
  70. <td>Trident</td>
  71. <td>Internet
  72. Explorer 5.0</td>
  73. <td>Win 95+</td>
  74. <td class="center">5</td>
  75. <td class="center">C</td>
  76. </tr>
  77. <tr id="3" class="gradeA">
  78. <td>Trident</td>
  79. <td>Internet
  80. Explorer 5.5</td>
  81. <td>Win 95+</td>
  82. <td class="center">5.5</td>
  83. <td class="center">A</td>
  84. </tr>
  85. <tr id="4" class="gradeA">
  86. <td>Trident</td>
  87. <td>Internet
  88. Explorer 6</td>
  89. <td>Win 98+</td>
  90. <td class="center">6</td>
  91. <td class="center">A</td>
  92. </tr>
  93. <tr id="5" class="gradeA">
  94. <td>Trident</td>
  95. <td>Internet Explorer 7</td>
  96. <td>Win XP SP2+</td>
  97. <td class="center">7</td>
  98. <td class="center">A</td>
  99. </tr>
  100. <tr id="6" class="gradeA">
  101. <td>Trident</td>
  102. <td>AOL browser (AOL desktop)</td>
  103. <td>Win XP</td>
  104. <td class="center">6</td>
  105. <td class="center">A</td>
  106. </tr>
  107. <tr id="7" class="gradeA">
  108. <td>Gecko</td>
  109. <td>Firefox 1.0</td>
  110. <td>Win 98+ / OSX.2+</td>
  111. <td class="center">1.7</td>
  112. <td class="center">A</td>
  113. </tr>
  114. <tr id="8" class="gradeA">
  115. <td>Gecko</td>
  116. <td>Firefox 1.5</td>
  117. <td>Win 98+ / OSX.2+</td>
  118. <td class="center">1.8</td>
  119. <td class="center">A</td>
  120. </tr>
  121. <tr id="9" class="gradeA">
  122. <td>Gecko</td>
  123. <td>Firefox 2.0</td>
  124. <td>Win 98+ / OSX.2+</td>
  125. <td class="center">1.8</td>
  126. <td class="center">A</td>
  127. </tr>
  128. <tr id="10" class="gradeA">
  129. <td>Gecko</td>
  130. <td>Firefox 3.0</td>
  131. <td>Win 2k+ / OSX.3+</td>
  132. <td class="center">1.9</td>
  133. <td class="center">A</td>
  134. </tr>
  135. <tr id="11" class="gradeA">
  136. <td>Gecko</td>
  137. <td>Camino 1.0</td>
  138. <td>OSX.2+</td>
  139. <td class="center">1.8</td>
  140. <td class="center">A</td>
  141. </tr>
  142. <tr id="12" class="gradeA">
  143. <td>Gecko</td>
  144. <td>Camino 1.5</td>
  145. <td>OSX.3+</td>
  146. <td class="center">1.8</td>
  147. <td class="center">A</td>
  148. </tr>
  149. <tr id="13" class="gradeA">
  150. <td>Gecko</td>
  151. <td>Netscape 7.2</td>
  152. <td>Win 95+ / Mac OS 8.6-9.2</td>
  153. <td class="center">1.7</td>
  154. <td class="center">A</td>
  155. </tr>
  156. <tr id="14" class="gradeA">
  157. <td>Gecko</td>
  158. <td>Netscape Browser 8</td>
  159. <td>Win 98SE+</td>
  160. <td class="center">1.7</td>
  161. <td class="center">A</td>
  162. </tr>
  163. <tr id="15" class="gradeA">
  164. <td>Gecko</td>
  165. <td>Netscape Navigator 9</td>
  166. <td>Win 98+ / OSX.2+</td>
  167. <td class="center">1.8</td>
  168. <td class="center">A</td>
  169. </tr>
  170. <tr id="16" class="gradeA">
  171. <td>Gecko</td>
  172. <td>Mozilla 1.0</td>
  173. <td>Win 95+ / OSX.1+</td>
  174. <td class="center">1</td>
  175. <td class="center">A</td>
  176. </tr>
  177. <tr id="17" class="gradeA">
  178. <td>Gecko</td>
  179. <td>Mozilla 1.1</td>
  180. <td>Win 95+ / OSX.1+</td>
  181. <td class="center">1.1</td>
  182. <td class="center">A</td>
  183. </tr>
  184. <tr id="18" class="gradeA">
  185. <td>Gecko</td>
  186. <td>Mozilla 1.2</td>
  187. <td>Win 95+ / OSX.1+</td>
  188. <td class="center">1.2</td>
  189. <td class="center">A</td>
  190. </tr>
  191. <tr id="19" class="gradeA">
  192. <td>Gecko</td>
  193. <td>Mozilla 1.3</td>
  194. <td>Win 95+ / OSX.1+</td>
  195. <td class="center">1.3</td>
  196. <td class="center">A</td>
  197. </tr>
  198. <tr id="20" class="gradeA">
  199. <td>Gecko</td>
  200. <td>Mozilla 1.4</td>
  201. <td>Win 95+ / OSX.1+</td>
  202. <td class="center">1.4</td>
  203. <td class="center">A</td>
  204. </tr>
  205. <tr id="21" class="gradeA">
  206. <td>Gecko</td>
  207. <td>Mozilla 1.5</td>
  208. <td>Win 95+ / OSX.1+</td>
  209. <td class="center">1.5</td>
  210. <td class="center">A</td>
  211. </tr>
  212. <tr id="22" class="gradeA">
  213. <td>Gecko</td>
  214. <td>Mozilla 1.6</td>
  215. <td>Win 95+ / OSX.1+</td>
  216. <td class="center">1.6</td>
  217. <td class="center">A</td>
  218. </tr>
  219. <tr id="23" class="gradeA">
  220. <td>Gecko</td>
  221. <td>Mozilla 1.7</td>
  222. <td>Win 98+ / OSX.1+</td>
  223. <td class="center">1.7</td>
  224. <td class="center">A</td>
  225. </tr>
  226. <tr id="24" class="gradeA">
  227. <td>Gecko</td>
  228. <td>Mozilla 1.8</td>
  229. <td>Win 98+ / OSX.1+</td>
  230. <td class="center">1.8</td>
  231. <td class="center">A</td>
  232. </tr>
  233. <tr id="25" class="gradeA">
  234. <td>Gecko</td>
  235. <td>Seamonkey 1.1</td>
  236. <td>Win 98+ / OSX.2+</td>
  237. <td class="center">1.8</td>
  238. <td class="center">A</td>
  239. </tr>
  240. <tr id="26" class="gradeA">
  241. <td>Gecko</td>
  242. <td>Epiphany 2.20</td>
  243. <td>Gnome</td>
  244. <td class="center">1.8</td>
  245. <td class="center">A</td>
  246. </tr>
  247. <tr id="27" class="gradeA">
  248. <td>Webkit</td>
  249. <td>Safari 1.2</td>
  250. <td>OSX.3</td>
  251. <td class="center">125.5</td>
  252. <td class="center">A</td>
  253. </tr>
  254. <tr id="28" class="gradeA">
  255. <td>Webkit</td>
  256. <td>Safari 1.3</td>
  257. <td>OSX.3</td>
  258. <td class="center">312.8</td>
  259. <td class="center">A</td>
  260. </tr>
  261. <tr id="29" class="gradeA">
  262. <td>Webkit</td>
  263. <td>Safari 2.0</td>
  264. <td>OSX.4+</td>
  265. <td class="center">419.3</td>
  266. <td class="center">A</td>
  267. </tr>
  268. <tr id="30" class="gradeA">
  269. <td>Webkit</td>
  270. <td>Safari 3.0</td>
  271. <td>OSX.4+</td>
  272. <td class="center">522.1</td>
  273. <td class="center">A</td>
  274. </tr>
  275. <tr id="31" class="gradeA">
  276. <td>Webkit</td>
  277. <td>OmniWeb 5.5</td>
  278. <td>OSX.4+</td>
  279. <td class="center">420</td>
  280. <td class="center">A</td>
  281. </tr>
  282. <tr id="32" class="gradeA">
  283. <td>Webkit</td>
  284. <td>iPod Touch / iPhone</td>
  285. <td>iPod</td>
  286. <td class="center">420.1</td>
  287. <td class="center">A</td>
  288. </tr>
  289. <tr id="33" class="gradeA">
  290. <td>Webkit</td>
  291. <td>S60</td>
  292. <td>S60</td>
  293. <td class="center">413</td>
  294. <td class="center">A</td>
  295. </tr>
  296. <tr id="34" class="gradeA">
  297. <td>Presto</td>
  298. <td>Opera 7.0</td>
  299. <td>Win 95+ / OSX.1+</td>
  300. <td class="center">-</td>
  301. <td class="center">A</td>
  302. </tr>
  303. <tr id="35" class="gradeA">
  304. <td>Presto</td>
  305. <td>Opera 7.5</td>
  306. <td>Win 95+ / OSX.2+</td>
  307. <td class="center">-</td>
  308. <td class="center">A</td>
  309. </tr>
  310. <tr id="36" class="gradeA">
  311. <td>Presto</td>
  312. <td>Opera 8.0</td>
  313. <td>Win 95+ / OSX.2+</td>
  314. <td class="center">-</td>
  315. <td class="center">A</td>
  316. </tr>
  317. <tr id="37" class="gradeA">
  318. <td>Presto</td>
  319. <td>Opera 8.5</td>
  320. <td>Win 95+ / OSX.2+</td>
  321. <td class="center">-</td>
  322. <td class="center">A</td>
  323. </tr>
  324. <tr id="38" class="gradeA">
  325. <td>Presto</td>
  326. <td>Opera 9.0</td>
  327. <td>Win 95+ / OSX.3+</td>
  328. <td class="center">-</td>
  329. <td class="center">A</td>
  330. </tr>
  331. <tr id="39" class="gradeA">
  332. <td>Presto</td>
  333. <td>Opera 9.2</td>
  334. <td>Win 88+ / OSX.3+</td>
  335. <td class="center">-</td>
  336. <td class="center">A</td>
  337. </tr>
  338. <tr id="40" class="gradeA">
  339. <td>Presto</td>
  340. <td>Opera 9.5</td>
  341. <td>Win 88+ / OSX.3+</td>
  342. <td class="center">-</td>
  343. <td class="center">A</td>
  344. </tr>
  345. <tr id="41" class="gradeA">
  346. <td>Presto</td>
  347. <td>Opera for Wii</td>
  348. <td>Wii</td>
  349. <td class="center">-</td>
  350. <td class="center">A</td>
  351. </tr>
  352. <tr id="42" class="gradeA">
  353. <td>Presto</td>
  354. <td>Nokia N800</td>
  355. <td>N800</td>
  356. <td class="center">-</td>
  357. <td class="center">A</td>
  358. </tr>
  359. <tr id="43" class="gradeA">
  360. <td>Presto</td>
  361. <td>Nintendo DS browser</td>
  362. <td>Nintendo DS</td>
  363. <td class="center">8.5</td>
  364. <td class="center">C/A<sup>1</sup></td>
  365. </tr>
  366. <tr id="44" class="gradeC">
  367. <td>KHTML</td>
  368. <td>Konqureror 3.1</td>
  369. <td>KDE 3.1</td>
  370. <td class="center">3.1</td>
  371. <td class="center">C</td>
  372. </tr>
  373. <tr id="45" class="gradeA">
  374. <td>KHTML</td>
  375. <td>Konqureror 3.3</td>
  376. <td>KDE 3.3</td>
  377. <td class="center">3.3</td>
  378. <td class="center">A</td>
  379. </tr>
  380. <tr id="46" class="gradeA">
  381. <td>KHTML</td>
  382. <td>Konqureror 3.5</td>
  383. <td>KDE 3.5</td>
  384. <td class="center">3.5</td>
  385. <td class="center">A</td>
  386. </tr>
  387. <tr id="47" class="gradeX">
  388. <td>Tasman</td>
  389. <td>Internet Explorer 4.5</td>
  390. <td>Mac OS 8-9</td>
  391. <td class="center">-</td>
  392. <td class="center">X</td>
  393. </tr>
  394. <tr id="48" class="gradeC">
  395. <td>Tasman</td>
  396. <td>Internet Explorer 5.1</td>
  397. <td>Mac OS 7.6-9</td>
  398. <td class="center">1</td>
  399. <td class="center">C</td>
  400. </tr>
  401. <tr id="49" class="gradeC">
  402. <td>Tasman</td>
  403. <td>Internet Explorer 5.2</td>
  404. <td>Mac OS 8-X</td>
  405. <td class="center">1</td>
  406. <td class="center">C</td>
  407. </tr>
  408. <tr id="50" class="gradeA">
  409. <td>Misc</td>
  410. <td>NetFront 3.1</td>
  411. <td>Embedded devices</td>
  412. <td class="center">-</td>
  413. <td class="center">C</td>
  414. </tr>
  415. <tr id="51" class="gradeA">
  416. <td>Misc</td>
  417. <td>NetFront 3.4</td>
  418. <td>Embedded devices</td>
  419. <td class="center">-</td>
  420. <td class="center">A</td>
  421. </tr>
  422. <tr id="52" class="gradeX">
  423. <td>Misc</td>
  424. <td>Dillo 0.8</td>
  425. <td>Embedded devices</td>
  426. <td class="center">-</td>
  427. <td class="center">X</td>
  428. </tr>
  429. <tr id="53" class="gradeX">
  430. <td>Misc</td>
  431. <td>Links</td>
  432. <td>Text only</td>
  433. <td class="center">-</td>
  434. <td class="center">X</td>
  435. </tr>
  436. <tr id="54" class="gradeX">
  437. <td>Misc</td>
  438. <td>Lynx</td>
  439. <td>Text only</td>
  440. <td class="center">-</td>
  441. <td class="center">X</td>
  442. </tr>
  443. <tr id="55" class="gradeC">
  444. <td>Misc</td>
  445. <td>IE Mobile</td>
  446. <td>Windows Mobile 6</td>
  447. <td class="center">-</td>
  448. <td class="center">C</td>
  449. </tr>
  450. <tr id="56" class="gradeC">
  451. <td>Misc</td>
  452. <td>PSP browser</td>
  453. <td>PSP</td>
  454. <td class="center">-</td>
  455. <td class="center">C</td>
  456. </tr>
  457. <tr id="57" class="gradeU">
  458. <td>Other browsers</td>
  459. <td>All others</td>
  460. <td>-</td>
  461. <td class="center">-</td>
  462. <td class="center">U</td>
  463. </tr>
  464. </tbody>
  465. <tfoot>
  466. <tr>
  467. <th>Rendering engine</th>
  468. <th>Browser</th>
  469. <th>Platform(s)</th>
  470. <th>Engine version</th>
  471. <th>CSS grade</th>
  472. </tr>
  473. </tfoot>
  474. </table>
  475. </div>
  476. <div class="spacer"></div>
  477. <h1>Initialisation code</h1>
  478. <pre class="brush: js;">$(document).ready(function() {
  479. /* Init DataTables */
  480. var oTable = $('#example').dataTable();
  481. /* Apply the jEditable handlers to the table */
  482. oTable.$('td').editable( '../examples_support/editable_ajax.php', {
  483. "callback": function( sValue, y ) {
  484. var aPos = oTable.fnGetPosition( this );
  485. oTable.fnUpdate( sValue, aPos[0], aPos[1] );
  486. },
  487. "submitdata": function ( value, settings ) {
  488. return {
  489. "row_id": this.parentNode.getAttribute('id'),
  490. "column": oTable.fnGetPosition( this )[2]
  491. };
  492. },
  493. "height": "14px",
  494. "width": "100%"
  495. } );
  496. } );</pre>
  497. <style type="text/css">
  498. @import "../examples_support/syntax/css/shCore.css";
  499. </style>
  500. <script type="text/javascript" language="javascript" src="../examples_support/syntax/js/shCore.js"></script>
  501. <h1>Other examples</h1>
  502. <div class="demo_links">
  503. <h2>Basic initialisation</h2>
  504. <ul>
  505. <li><a href="../basic_init/zero_config.html">Zero configuration</a></li>
  506. <li><a href="../basic_init/filter_only.html">Feature enablement</a></li>
  507. <li><a href="../basic_init/table_sorting.html">Sorting data</a></li>
  508. <li><a href="../basic_init/multi_col_sort.html">Multi-column sorting</a></li>
  509. <li><a href="../basic_init/multiple_tables.html">Multiple tables</a></li>
  510. <li><a href="../basic_init/hidden_columns.html">Hidden columns</a></li>
  511. <li><a href="../basic_init/complex_header.html">Complex headers - grouping with colspan</a></li>
  512. <li><a href="../basic_init/dom.html">DOM positioning</a></li>
  513. <li><a href="../basic_init/flexible_width.html">Flexible table width</a></li>
  514. <li><a href="../basic_init/state_save.html">State saving</a></li>
  515. <li><a href="../basic_init/alt_pagination.html">Alternative pagination styles</a></li>
  516. <li>Scrolling: <br>
  517. <a href="../basic_init/scroll_x.html">Horizontal</a> /
  518. <a href="../basic_init/scroll_y.html">Vertical</a> /
  519. <a href="../basic_init/scroll_xy.html">Both</a> /
  520. <a href="../basic_init/scroll_y_theme.html">Themed</a> /
  521. <a href="../basic_init/scroll_y_infinite.html">Infinite</a>
  522. </li>
  523. <li><a href="../basic_init/language.html">Change language information (internationalisation)</a></li>
  524. <li><a href="../basic_init/themes.html">ThemeRoller themes (Smoothness)</a></li>
  525. </ul>
  526. <h2>Advanced initialisation</h2>
  527. <ul>
  528. <li>Events: <br>
  529. <a href="../advanced_init/events_live.html">Live events</a> /
  530. <a href="../advanced_init/events_pre_init.html">Pre-init</a> /
  531. <a href="../advanced_init/events_post_init.html">Post-init</a>
  532. </li>
  533. <li><a href="../advanced_init/column_render.html">Column rendering</a></li>
  534. <li><a href="../advanced_init/html_sort.html">Sorting without HTML tags</a></li>
  535. <li><a href="../advanced_init/dom_multiple_elements.html">Multiple table controls (sDom)</a></li>
  536. <li><a href="../advanced_init/length_menu.html">Defining length menu options</a></li>
  537. <li><a href="../advanced_init/complex_header.html">Complex headers and hidden columns</a></li>
  538. <li><a href="../advanced_init/dom_toolbar.html">Custom toolbar (element) around table</a></li>
  539. <li><a href="../advanced_init/highlight.html">Row highlighting with CSS</a></li>
  540. <li><a href="../advanced_init/row_grouping.html">Row grouping</a></li>
  541. <li><a href="../advanced_init/row_callback.html">Row callback</a></li>
  542. <li><a href="../advanced_init/footer_callback.html">Footer callback</a></li>
  543. <li><a href="../advanced_init/sorting_control.html">Control sorting direction of columns</a></li>
  544. <li><a href="../advanced_init/language_file.html">Change language information from a file (internationalisation)</a></li>
  545. <li><a href="../advanced_init/defaults.html">Setting defaults</a></li>
  546. <li><a href="../advanced_init/localstorage.html">State saving with localStorage</a></li>
  547. <li><a href="../advanced_init/dt_events.html">Custom events</a></li>
  548. </ul>
  549. <h2>API</h2>
  550. <ul>
  551. <li><a href="../api/add_row.html">Dynamically add a new row</a></li>
  552. <li><a href="../api/multi_filter.html">Individual column filtering (using "input" elements)</a></li>
  553. <li><a href="../api/multi_filter_select.html">Individual column filtering (using "select" elements)</a></li>
  554. <li><a href="../api/highlight.html">Highlight rows and columns</a></li>
  555. <li><a href="../api/row_details.html">Show and hide details about a particular record</a></li>
  556. <li><a href="../api/select_row.html">User selectable rows (multiple rows)</a></li>
  557. <li><a href="../api/select_single_row.html">User selectable rows (single row) and delete rows</a></li>
  558. <li><a href="../api/editable.html">Editable rows (with jEditable)</a></li>
  559. <li><a href="../api/form.html">Submit form with elements in table</a></li>
  560. <li><a href="../api/counter_column.html">Index column (static number column)</a></li>
  561. <li><a href="../api/show_hide.html">Show and hide columns dynamically</a></li>
  562. <li><a href="../api/api_in_init.html">API function use in initialisation object (callback)</a></li>
  563. <li><a href="../api/tabs_and_scrolling.html">DataTables scrolling and tabs</a></li>
  564. <li><a href="../api/regex.html">Regular expression filtering</a></li>
  565. </ul>
  566. </div>
  567. <div class="demo_links">
  568. <h2>Data sources</h2>
  569. <ul>
  570. <li><a href="../data_sources/dom.html">DOM</a></li>
  571. <li><a href="../data_sources/js_array.html">Javascript array</a></li>
  572. <li><a href="../data_sources/ajax.html">Ajax source</a></li>
  573. <li><a href="../data_sources/server_side.html">Server side processing</a></li>
  574. </ul>
  575. <h2>Server-side processing</h2>
  576. <ul>
  577. <li><a href="../server_side/server_side.html">Obtain server-side data</a></li>
  578. <li><a href="../server_side/custom_vars.html">Add extra HTTP variables</a></li>
  579. <li><a href="../server_side/post.html">Use HTTP POST</a></li>
  580. <li><a href="../server_side/ids.html">Automatic addition of IDs and classes to rows</a></li>
  581. <li><a href="../server_side/object_data.html">Reading table data from objects</a></li>
  582. <li><a href="../server_side/row_details.html">Show and hide details about a particular record</a></li>
  583. <li><a href="../server_side/select_rows.html">User selectable rows (multiple rows)</a></li>
  584. <li><a href="../server_side/jsonp.html">JSONP for a cross domain data source</a></li>
  585. <li><a href="../server_side/editable.html">jEditable integration with DataTables</a></li>
  586. <li><a href="../server_side/defer_loading.html">Deferred loading of Ajax data</a></li>
  587. <li><a href="../server_side/pipeline.html">Pipelining data (reduce Ajax calls for paging)</a></li>
  588. </ul>
  589. <h2>Ajax data source</h2>
  590. <ul>
  591. <li><a href="../ajax/ajax.html">Ajax sourced data (array of arrays)</a></li>
  592. <li><a href="../ajax/objects.html">Ajax sourced data (array of objects)</a></li>
  593. <li><a href="../ajax/defer_render.html">Deferred DOM creation for extra speed</a></li>
  594. <li><a href="../ajax/null_data_source.html">Empty data source columns</a></li>
  595. <li><a href="../ajax/custom_data_property.html">Use a data source other than aaData (the default)</a></li>
  596. <li><a href="../ajax/objects_subarrays.html">Read column data from sub-arrays</a></li>
  597. <li><a href="../ajax/deep.html">Read column data from deeply nested properties</a></li>
  598. </ul>
  599. <h2>Plug-ins</h2>
  600. <ul>
  601. <li><a href="../plug-ins/plugin_api.html">Add custom API functions</a></li>
  602. <li><a href="../plug-ins/sorting_plugin.html">Sorting and automatic type detection</a></li>
  603. <li><a href="../plug-ins/sorting_sType.html">Sorting without automatic type detection</a></li>
  604. <li><a href="../plug-ins/paging_plugin.html">Custom pagination controls</a></li>
  605. <li><a href="../plug-ins/range_filtering.html">Range filtering / custom filtering</a></li>
  606. <li><a href="../plug-ins/dom_sort.html">Live DOM sorting</a></li>
  607. <li><a href="../plug-ins/html_sort.html">Automatic HTML type detection</a></li>
  608. </ul>
  609. </div>
  610. <div id="footer" class="clear" style="text-align:center;">
  611. <p>
  612. Please refer to the <a href="http://www.datatables.net/usage">DataTables documentation</a> for full information about its API properties and methods.<br>
  613. 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> which extend the capabilities of DataTables.
  614. </p>
  615. <span style="font-size:10px;">
  616. DataTables designed and created by <a href="http://www.sprymedia.co.uk">Allan Jardine</a> &copy; 2007-2011<br>
  617. DataTables is dual licensed under the <a href="http://www.datatables.net/license_gpl2">GPL v2 license</a> or a <a href="http://www.datatables.net/license_bsd">BSD (3-point) license</a>.
  618. </span>
  619. </div>
  620. </div>
  621. </body>
  622. </html>