form.html 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  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="../../media/js/jquery.dataTables.js"></script>
  13. <script type="text/javascript" charset="utf-8">
  14. var oTable;
  15. $(document).ready(function() {
  16. $('#form').submit( function() {
  17. var sData = oTable.$('input').serialize();
  18. alert( "The following data would have been submitted to the server: \n\n"+sData );
  19. return false;
  20. } );
  21. oTable = $('#example').dataTable();
  22. } );
  23. </script>
  24. </head>
  25. <body id="dt_example">
  26. <div id="container">
  27. <div class="full_width big">
  28. DataTables with form elements example
  29. </div>
  30. <h1>Preamble</h1>
  31. <p>The following example shows how form elements can be used within a DataTables enhanced table. The trick here is that DataTables does not include the DOM elements which are not currently being displayed, therefore you need to add a submit event handler to gather together all of the input elements from the table, and then use the handy jQuery <b>serialize()</b> function to string together the data. It can then be posted to the server as you wish.</p>
  32. <h1>Live example</h1>
  33. <div id="demo">
  34. <form id="form">
  35. <div style="text-align:right; padding-bottom:1em;">
  36. <button type="submit">Submit form</button>
  37. </div>
  38. <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
  39. <thead>
  40. <tr>
  41. <th>Rendering engine</th>
  42. <th>Browser</th>
  43. <th>Platform(s)</th>
  44. <th>Engine version</th>
  45. <th>CSS grade</th>
  46. <th>Check</th>
  47. </tr>
  48. </thead>
  49. <tbody>
  50. <tr class="gradeX">
  51. <td>Trident</td>
  52. <td>Internet
  53. Explorer 4.0</td>
  54. <td>Win 95+</td>
  55. <td class="center">4</td>
  56. <td class="center">X</td>
  57. <td class="center"><input type="checkbox" name="check1" value="1"></td>
  58. </tr>
  59. <tr class="gradeC">
  60. <td>Trident</td>
  61. <td>Internet
  62. Explorer 5.0</td>
  63. <td>Win 95+</td>
  64. <td class="center">5</td>
  65. <td class="center">C</td>
  66. <td class="center"><input type="checkbox" name="check2" value="2"></td>
  67. </tr>
  68. <tr class="gradeA">
  69. <td>Trident</td>
  70. <td>Internet
  71. Explorer 5.5</td>
  72. <td>Win 95+</td>
  73. <td class="center">5.5</td>
  74. <td class="center">A</td>
  75. <td class="center"><input type="checkbox" name="check3" value="3"></td>
  76. </tr>
  77. <tr class="gradeA">
  78. <td>Trident</td>
  79. <td>Internet
  80. Explorer 6</td>
  81. <td>Win 98+</td>
  82. <td class="center">6</td>
  83. <td class="center">A</td>
  84. <td class="center"><input type="checkbox" name="check4" value="4"></td>
  85. </tr>
  86. <tr class="gradeA">
  87. <td>Trident</td>
  88. <td>Internet Explorer 7</td>
  89. <td>Win XP SP2+</td>
  90. <td class="center">7</td>
  91. <td class="center">A</td>
  92. <td class="center"><input type="checkbox" name="check5" value="5"></td>
  93. </tr>
  94. <tr class="gradeA">
  95. <td>Trident</td>
  96. <td>AOL browser (AOL desktop)</td>
  97. <td>Win XP</td>
  98. <td class="center">6</td>
  99. <td class="center">A</td>
  100. <td class="center"><input type="checkbox" name="check6" value="6"></td>
  101. </tr>
  102. <tr class="gradeA">
  103. <td>Gecko</td>
  104. <td>Firefox 1.0</td>
  105. <td>Win 98+ / OSX.2+</td>
  106. <td class="center">1.7</td>
  107. <td class="center">A</td>
  108. <td class="center"><input type="checkbox" name="check7" value="7"></td>
  109. </tr>
  110. <tr class="gradeA">
  111. <td>Gecko</td>
  112. <td>Firefox 1.5</td>
  113. <td>Win 98+ / OSX.2+</td>
  114. <td class="center">1.8</td>
  115. <td class="center">A</td>
  116. <td class="center"><input type="checkbox" name="check8" value="8"></td>
  117. </tr>
  118. <tr class="gradeA">
  119. <td>Gecko</td>
  120. <td>Firefox 2.0</td>
  121. <td>Win 98+ / OSX.2+</td>
  122. <td class="center">1.8</td>
  123. <td class="center">A</td>
  124. <td class="center"><input type="checkbox" name="check9" value="9"></td>
  125. </tr>
  126. <tr class="gradeA">
  127. <td>Gecko</td>
  128. <td>Firefox 3.0</td>
  129. <td>Win 2k+ / OSX.3+</td>
  130. <td class="center">1.9</td>
  131. <td class="center">A</td>
  132. <td class="center"><input type="checkbox" name="check10" value="10"></td>
  133. </tr>
  134. <tr class="gradeA">
  135. <td>Gecko</td>
  136. <td>Camino 1.0</td>
  137. <td>OSX.2+</td>
  138. <td class="center">1.8</td>
  139. <td class="center">A</td>
  140. <td class="center"><input type="checkbox" name="check11" value="11"></td>
  141. </tr>
  142. <tr 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. <td class="center"><input type="checkbox" name="check12" value="12"></td>
  149. </tr>
  150. <tr class="gradeA">
  151. <td>Gecko</td>
  152. <td>Netscape 7.2</td>
  153. <td>Win 95+ / Mac OS 8.6-9.2</td>
  154. <td class="center">1.7</td>
  155. <td class="center">A</td>
  156. <td class="center"><input type="checkbox" name="check13" value="13"></td>
  157. </tr>
  158. <tr class="gradeA">
  159. <td>Gecko</td>
  160. <td>Netscape Browser 8</td>
  161. <td>Win 98SE+</td>
  162. <td class="center">1.7</td>
  163. <td class="center">A</td>
  164. <td class="center"><input type="checkbox" name="check14" value="14"></td>
  165. </tr>
  166. <tr class="gradeA">
  167. <td>Gecko</td>
  168. <td>Netscape Navigator 9</td>
  169. <td>Win 98+ / OSX.2+</td>
  170. <td class="center">1.8</td>
  171. <td class="center">A</td>
  172. <td class="center"><input type="checkbox" name="check15" value="15"></td>
  173. </tr>
  174. <tr class="gradeA">
  175. <td>Gecko</td>
  176. <td>Mozilla 1.0</td>
  177. <td>Win 95+ / OSX.1+</td>
  178. <td class="center">1</td>
  179. <td class="center">A</td>
  180. <td class="center"><input type="checkbox" name="check16" value="16"></td>
  181. </tr>
  182. <tr class="gradeA">
  183. <td>Gecko</td>
  184. <td>Mozilla 1.1</td>
  185. <td>Win 95+ / OSX.1+</td>
  186. <td class="center">1.1</td>
  187. <td class="center">A</td>
  188. <td class="center"><input type="checkbox" name="check17" value="17"></td>
  189. </tr>
  190. <tr class="gradeA">
  191. <td>Gecko</td>
  192. <td>Mozilla 1.2</td>
  193. <td>Win 95+ / OSX.1+</td>
  194. <td class="center">1.2</td>
  195. <td class="center">A</td>
  196. <td class="center"><input type="checkbox" name="check18" value="18"></td>
  197. </tr>
  198. <tr class="gradeA">
  199. <td>Gecko</td>
  200. <td>Mozilla 1.3</td>
  201. <td>Win 95+ / OSX.1+</td>
  202. <td class="center">1.3</td>
  203. <td class="center">A</td>
  204. <td class="center"><input type="checkbox" name="check19" value="19"></td>
  205. </tr>
  206. <tr class="gradeA">
  207. <td>Gecko</td>
  208. <td>Mozilla 1.4</td>
  209. <td>Win 95+ / OSX.1+</td>
  210. <td class="center">1.4</td>
  211. <td class="center">A</td>
  212. <td class="center"><input type="checkbox" name="check20" value="20"></td>
  213. </tr>
  214. <tr class="gradeA">
  215. <td>Gecko</td>
  216. <td>Mozilla 1.5</td>
  217. <td>Win 95+ / OSX.1+</td>
  218. <td class="center">1.5</td>
  219. <td class="center">A</td>
  220. <td class="center"><input type="checkbox" name="check21" value="21"></td>
  221. </tr>
  222. <tr class="gradeA">
  223. <td>Gecko</td>
  224. <td>Mozilla 1.6</td>
  225. <td>Win 95+ / OSX.1+</td>
  226. <td class="center">1.6</td>
  227. <td class="center">A</td>
  228. <td class="center"><input type="checkbox" name="check22" value="22"></td>
  229. </tr>
  230. <tr class="gradeA">
  231. <td>Gecko</td>
  232. <td>Mozilla 1.7</td>
  233. <td>Win 98+ / OSX.1+</td>
  234. <td class="center">1.7</td>
  235. <td class="center">A</td>
  236. <td class="center"><input type="checkbox" name="check23" value="23"></td>
  237. </tr>
  238. <tr class="gradeA">
  239. <td>Gecko</td>
  240. <td>Mozilla 1.8</td>
  241. <td>Win 98+ / OSX.1+</td>
  242. <td class="center">1.8</td>
  243. <td class="center">A</td>
  244. <td class="center"><input type="checkbox" name="check24" value="24"></td>
  245. </tr>
  246. <tr class="gradeA">
  247. <td>Gecko</td>
  248. <td>Seamonkey 1.1</td>
  249. <td>Win 98+ / OSX.2+</td>
  250. <td class="center">1.8</td>
  251. <td class="center">A</td>
  252. <td class="center"><input type="checkbox" name="check25" value="25"></td>
  253. </tr>
  254. <tr class="gradeA">
  255. <td>Gecko</td>
  256. <td>Epiphany 2.20</td>
  257. <td>Gnome</td>
  258. <td class="center">1.8</td>
  259. <td class="center">A</td>
  260. <td class="center"><input type="checkbox" name="check26" value="26"></td>
  261. </tr>
  262. <tr class="gradeA">
  263. <td>Webkit</td>
  264. <td>Safari 1.2</td>
  265. <td>OSX.3</td>
  266. <td class="center">125.5</td>
  267. <td class="center">A</td>
  268. <td class="center"><input type="checkbox" name="check27" value="27"></td>
  269. </tr>
  270. <tr class="gradeA">
  271. <td>Webkit</td>
  272. <td>Safari 1.3</td>
  273. <td>OSX.3</td>
  274. <td class="center">312.8</td>
  275. <td class="center">A</td>
  276. <td class="center"><input type="checkbox" name="check28" value="28"></td>
  277. </tr>
  278. <tr class="gradeA">
  279. <td>Webkit</td>
  280. <td>Safari 2.0</td>
  281. <td>OSX.4+</td>
  282. <td class="center">419.3</td>
  283. <td class="center">A</td>
  284. <td class="center"><input type="checkbox" name="check29" value="29"></td>
  285. </tr>
  286. <tr class="gradeA">
  287. <td>Webkit</td>
  288. <td>Safari 3.0</td>
  289. <td>OSX.4+</td>
  290. <td class="center">522.1</td>
  291. <td class="center">A</td>
  292. <td class="center"><input type="checkbox" name="check30" value="30"></td>
  293. </tr>
  294. <tr class="gradeA">
  295. <td>Webkit</td>
  296. <td>OmniWeb 5.5</td>
  297. <td>OSX.4+</td>
  298. <td class="center">420</td>
  299. <td class="center">A</td>
  300. <td class="center"><input type="checkbox" name="check31" value="31"></td>
  301. </tr>
  302. <tr class="gradeA">
  303. <td>Webkit</td>
  304. <td>iPod Touch / iPhone</td>
  305. <td>iPod</td>
  306. <td class="center">420.1</td>
  307. <td class="center">A</td>
  308. <td class="center"><input type="checkbox" name="check32" value="32"></td>
  309. </tr>
  310. <tr class="gradeA">
  311. <td>Webkit</td>
  312. <td>S60</td>
  313. <td>S60</td>
  314. <td class="center">413</td>
  315. <td class="center">A</td>
  316. <td class="center"><input type="checkbox" name="check33" value="33"></td>
  317. </tr>
  318. <tr class="gradeA">
  319. <td>Presto</td>
  320. <td>Opera 7.0</td>
  321. <td>Win 95+ / OSX.1+</td>
  322. <td class="center">-</td>
  323. <td class="center">A</td>
  324. <td class="center"><input type="checkbox" name="check34" value="34"></td>
  325. </tr>
  326. <tr class="gradeA">
  327. <td>Presto</td>
  328. <td>Opera 7.5</td>
  329. <td>Win 95+ / OSX.2+</td>
  330. <td class="center">-</td>
  331. <td class="center">A</td>
  332. <td class="center"><input type="checkbox" name="check35" value="35"></td>
  333. </tr>
  334. <tr class="gradeA">
  335. <td>Presto</td>
  336. <td>Opera 8.0</td>
  337. <td>Win 95+ / OSX.2+</td>
  338. <td class="center">-</td>
  339. <td class="center">A</td>
  340. <td class="center"><input type="checkbox" name="check36" value="36"></td>
  341. </tr>
  342. <tr class="gradeA">
  343. <td>Presto</td>
  344. <td>Opera 8.5</td>
  345. <td>Win 95+ / OSX.2+</td>
  346. <td class="center">-</td>
  347. <td class="center">A</td>
  348. <td class="center"><input type="checkbox" name="check37" value="37"></td>
  349. </tr>
  350. <tr class="gradeA">
  351. <td>Presto</td>
  352. <td>Opera 9.0</td>
  353. <td>Win 95+ / OSX.3+</td>
  354. <td class="center">-</td>
  355. <td class="center">A</td>
  356. <td class="center"><input type="checkbox" name="check38" value="38"></td>
  357. </tr>
  358. <tr class="gradeA">
  359. <td>Presto</td>
  360. <td>Opera 9.2</td>
  361. <td>Win 88+ / OSX.3+</td>
  362. <td class="center">-</td>
  363. <td class="center">A</td>
  364. <td class="center"><input type="checkbox" name="check39" value="39"></td>
  365. </tr>
  366. <tr class="gradeA">
  367. <td>Presto</td>
  368. <td>Opera 9.5</td>
  369. <td>Win 88+ / OSX.3+</td>
  370. <td class="center">-</td>
  371. <td class="center">A</td>
  372. <td class="center"><input type="checkbox" name="check40" value="40"></td>
  373. </tr>
  374. <tr class="gradeA">
  375. <td>Presto</td>
  376. <td>Opera for Wii</td>
  377. <td>Wii</td>
  378. <td class="center">-</td>
  379. <td class="center">A</td>
  380. <td class="center"><input type="checkbox" name="check41" value="41"></td>
  381. </tr>
  382. <tr class="gradeA">
  383. <td>Presto</td>
  384. <td>Nokia N800</td>
  385. <td>N800</td>
  386. <td class="center">-</td>
  387. <td class="center">A</td>
  388. <td class="center"><input type="checkbox" name="check42" value="42"></td>
  389. </tr>
  390. <tr class="gradeA">
  391. <td>Presto</td>
  392. <td>Nintendo DS browser</td>
  393. <td>Nintendo DS</td>
  394. <td class="center">8.5</td>
  395. <td class="center">C/A<sup>1</sup></td>
  396. <td class="center"><input type="checkbox" name="check43" value="43"></td>
  397. </tr>
  398. <tr class="gradeC">
  399. <td>KHTML</td>
  400. <td>Konqureror 3.1</td>
  401. <td>KDE 3.1</td>
  402. <td class="center">3.1</td>
  403. <td class="center">C</td>
  404. <td class="center"><input type="checkbox" name="check44" value="44"></td>
  405. </tr>
  406. <tr class="gradeA">
  407. <td>KHTML</td>
  408. <td>Konqureror 3.3</td>
  409. <td>KDE 3.3</td>
  410. <td class="center">3.3</td>
  411. <td class="center">A</td>
  412. <td class="center"><input type="checkbox" name="check45" value="45"></td>
  413. </tr>
  414. <tr class="gradeA">
  415. <td>KHTML</td>
  416. <td>Konqureror 3.5</td>
  417. <td>KDE 3.5</td>
  418. <td class="center">3.5</td>
  419. <td class="center">A</td>
  420. <td class="center"><input type="checkbox" name="check46" value="46"></td>
  421. </tr>
  422. <tr class="gradeX">
  423. <td>Tasman</td>
  424. <td>Internet Explorer 4.5</td>
  425. <td>Mac OS 8-9</td>
  426. <td class="center">-</td>
  427. <td class="center">X</td>
  428. <td class="center"><input type="checkbox" name="check47" value="47"></td>
  429. </tr>
  430. <tr class="gradeC">
  431. <td>Tasman</td>
  432. <td>Internet Explorer 5.1</td>
  433. <td>Mac OS 7.6-9</td>
  434. <td class="center">1</td>
  435. <td class="center">C</td>
  436. <td class="center"><input type="checkbox" name="check48" value="48"></td>
  437. </tr>
  438. <tr class="gradeC">
  439. <td>Tasman</td>
  440. <td>Internet Explorer 5.2</td>
  441. <td>Mac OS 8-X</td>
  442. <td class="center">1</td>
  443. <td class="center">C</td>
  444. <td class="center"><input type="checkbox" name="check49" value="49"></td>
  445. </tr>
  446. <tr class="gradeA">
  447. <td>Misc</td>
  448. <td>NetFront 3.1</td>
  449. <td>Embedded devices</td>
  450. <td class="center">-</td>
  451. <td class="center">C</td>
  452. <td class="center"><input type="checkbox" name="check50" value="50"></td>
  453. </tr>
  454. <tr class="gradeA">
  455. <td>Misc</td>
  456. <td>NetFront 3.4</td>
  457. <td>Embedded devices</td>
  458. <td class="center">-</td>
  459. <td class="center">A</td>
  460. <td class="center"><input type="checkbox" name="check51" value="51"></td>
  461. </tr>
  462. <tr class="gradeX">
  463. <td>Misc</td>
  464. <td>Dillo 0.8</td>
  465. <td>Embedded devices</td>
  466. <td class="center">-</td>
  467. <td class="center">X</td>
  468. <td class="center"><input type="checkbox" name="check52" value="52"></td>
  469. </tr>
  470. <tr class="gradeX">
  471. <td>Misc</td>
  472. <td>Links</td>
  473. <td>Text only</td>
  474. <td class="center">-</td>
  475. <td class="center">X</td>
  476. <td class="center"><input type="checkbox" name="check53" value="53"></td>
  477. </tr>
  478. <tr class="gradeX">
  479. <td>Misc</td>
  480. <td>Lynx</td>
  481. <td>Text only</td>
  482. <td class="center">-</td>
  483. <td class="center">X</td>
  484. <td class="center"><input type="checkbox" name="check54" value="54"></td>
  485. </tr>
  486. <tr class="gradeC">
  487. <td>Misc</td>
  488. <td>IE Mobile</td>
  489. <td>Windows Mobile 6</td>
  490. <td class="center">-</td>
  491. <td class="center">C</td>
  492. <td class="center"><input type="checkbox" name="check55" value="55"></td>
  493. </tr>
  494. <tr class="gradeC">
  495. <td>Misc</td>
  496. <td>PSP browser</td>
  497. <td>PSP</td>
  498. <td class="center">-</td>
  499. <td class="center">C</td>
  500. <td class="center"><input type="checkbox" name="check56" value="56"></td>
  501. </tr>
  502. <tr class="gradeU">
  503. <td>Other browsers</td>
  504. <td>All others</td>
  505. <td>-</td>
  506. <td class="center">-</td>
  507. <td class="center">U</td>
  508. <td class="center"><input type="checkbox" name="check57" value="57"></td>
  509. </tr>
  510. </tbody>
  511. <tfoot>
  512. <tr>
  513. <th>Rendering engine</th>
  514. <th>Browser</th>
  515. <th>Platform(s)</th>
  516. <th>Engine version</th>
  517. <th>CSS grade</th>
  518. <th>Check</th>
  519. </tr>
  520. </tfoot>
  521. </table>
  522. </form>
  523. </div>
  524. <div class="spacer"></div>
  525. <h1>Initialisation code</h1>
  526. <pre class="brush: js;">var oTable;
  527. $(document).ready(function() {
  528. $('#form').submit( function() {
  529. var sData = oTable.$('input').serialize();
  530. alert( "The following data would have been submitted to the server: \n\n"+sData );
  531. return false;
  532. } );
  533. oTable = $('#example').dataTable();
  534. } );</pre>
  535. <style type="text/css">
  536. @import "../examples_support/syntax/css/shCore.css";
  537. </style>
  538. <script type="text/javascript" language="javascript" src="../examples_support/syntax/js/shCore.js"></script>
  539. <h1>Other examples</h1>
  540. <div class="demo_links">
  541. <h2>Basic initialisation</h2>
  542. <ul>
  543. <li><a href="../basic_init/zero_config.html">Zero configuration</a></li>
  544. <li><a href="../basic_init/filter_only.html">Feature enablement</a></li>
  545. <li><a href="../basic_init/table_sorting.html">Sorting data</a></li>
  546. <li><a href="../basic_init/multi_col_sort.html">Multi-column sorting</a></li>
  547. <li><a href="../basic_init/multiple_tables.html">Multiple tables</a></li>
  548. <li><a href="../basic_init/hidden_columns.html">Hidden columns</a></li>
  549. <li><a href="../basic_init/complex_header.html">Complex headers - grouping with colspan</a></li>
  550. <li><a href="../basic_init/dom.html">DOM positioning</a></li>
  551. <li><a href="../basic_init/flexible_width.html">Flexible table width</a></li>
  552. <li><a href="../basic_init/state_save.html">State saving</a></li>
  553. <li><a href="../basic_init/alt_pagination.html">Alternative pagination styles</a></li>
  554. <li>Scrolling: <br>
  555. <a href="../basic_init/scroll_x.html">Horizontal</a> /
  556. <a href="../basic_init/scroll_y.html">Vertical</a> /
  557. <a href="../basic_init/scroll_xy.html">Both</a> /
  558. <a href="../basic_init/scroll_y_theme.html">Themed</a> /
  559. <a href="../basic_init/scroll_y_infinite.html">Infinite</a>
  560. </li>
  561. <li><a href="../basic_init/language.html">Change language information (internationalisation)</a></li>
  562. <li><a href="../basic_init/themes.html">ThemeRoller themes (Smoothness)</a></li>
  563. </ul>
  564. <h2>Advanced initialisation</h2>
  565. <ul>
  566. <li>Events: <br>
  567. <a href="../advanced_init/events_live.html">Live events</a> /
  568. <a href="../advanced_init/events_pre_init.html">Pre-init</a> /
  569. <a href="../advanced_init/events_post_init.html">Post-init</a>
  570. </li>
  571. <li><a href="../advanced_init/column_render.html">Column rendering</a></li>
  572. <li><a href="../advanced_init/html_sort.html">Sorting without HTML tags</a></li>
  573. <li><a href="../advanced_init/dom_multiple_elements.html">Multiple table controls (sDom)</a></li>
  574. <li><a href="../advanced_init/length_menu.html">Defining length menu options</a></li>
  575. <li><a href="../advanced_init/complex_header.html">Complex headers and hidden columns</a></li>
  576. <li><a href="../advanced_init/dom_toolbar.html">Custom toolbar (element) around table</a></li>
  577. <li><a href="../advanced_init/highlight.html">Row highlighting with CSS</a></li>
  578. <li><a href="../advanced_init/row_grouping.html">Row grouping</a></li>
  579. <li><a href="../advanced_init/row_callback.html">Row callback</a></li>
  580. <li><a href="../advanced_init/footer_callback.html">Footer callback</a></li>
  581. <li><a href="../advanced_init/sorting_control.html">Control sorting direction of columns</a></li>
  582. <li><a href="../advanced_init/language_file.html">Change language information from a file (internationalisation)</a></li>
  583. <li><a href="../advanced_init/defaults.html">Setting defaults</a></li>
  584. <li><a href="../advanced_init/localstorage.html">State saving with localStorage</a></li>
  585. <li><a href="../advanced_init/dt_events.html">Custom events</a></li>
  586. </ul>
  587. <h2>API</h2>
  588. <ul>
  589. <li><a href="../api/add_row.html">Dynamically add a new row</a></li>
  590. <li><a href="../api/multi_filter.html">Individual column filtering (using "input" elements)</a></li>
  591. <li><a href="../api/multi_filter_select.html">Individual column filtering (using "select" elements)</a></li>
  592. <li><a href="../api/highlight.html">Highlight rows and columns</a></li>
  593. <li><a href="../api/row_details.html">Show and hide details about a particular record</a></li>
  594. <li><a href="../api/select_row.html">User selectable rows (multiple rows)</a></li>
  595. <li><a href="../api/select_single_row.html">User selectable rows (single row) and delete rows</a></li>
  596. <li><a href="../api/editable.html">Editable rows (with jEditable)</a></li>
  597. <li><a href="../api/form.html">Submit form with elements in table</a></li>
  598. <li><a href="../api/counter_column.html">Index column (static number column)</a></li>
  599. <li><a href="../api/show_hide.html">Show and hide columns dynamically</a></li>
  600. <li><a href="../api/api_in_init.html">API function use in initialisation object (callback)</a></li>
  601. <li><a href="../api/tabs_and_scrolling.html">DataTables scrolling and tabs</a></li>
  602. <li><a href="../api/regex.html">Regular expression filtering</a></li>
  603. </ul>
  604. </div>
  605. <div class="demo_links">
  606. <h2>Data sources</h2>
  607. <ul>
  608. <li><a href="../data_sources/dom.html">DOM</a></li>
  609. <li><a href="../data_sources/js_array.html">Javascript array</a></li>
  610. <li><a href="../data_sources/ajax.html">Ajax source</a></li>
  611. <li><a href="../data_sources/server_side.html">Server side processing</a></li>
  612. </ul>
  613. <h2>Server-side processing</h2>
  614. <ul>
  615. <li><a href="../server_side/server_side.html">Obtain server-side data</a></li>
  616. <li><a href="../server_side/custom_vars.html">Add extra HTTP variables</a></li>
  617. <li><a href="../server_side/post.html">Use HTTP POST</a></li>
  618. <li><a href="../server_side/ids.html">Automatic addition of IDs and classes to rows</a></li>
  619. <li><a href="../server_side/object_data.html">Reading table data from objects</a></li>
  620. <li><a href="../server_side/row_details.html">Show and hide details about a particular record</a></li>
  621. <li><a href="../server_side/select_rows.html">User selectable rows (multiple rows)</a></li>
  622. <li><a href="../server_side/jsonp.html">JSONP for a cross domain data source</a></li>
  623. <li><a href="../server_side/editable.html">jEditable integration with DataTables</a></li>
  624. <li><a href="../server_side/defer_loading.html">Deferred loading of Ajax data</a></li>
  625. <li><a href="../server_side/pipeline.html">Pipelining data (reduce Ajax calls for paging)</a></li>
  626. </ul>
  627. <h2>Ajax data source</h2>
  628. <ul>
  629. <li><a href="../ajax/ajax.html">Ajax sourced data (array of arrays)</a></li>
  630. <li><a href="../ajax/objects.html">Ajax sourced data (array of objects)</a></li>
  631. <li><a href="../ajax/defer_render.html">Deferred DOM creation for extra speed</a></li>
  632. <li><a href="../ajax/null_data_source.html">Empty data source columns</a></li>
  633. <li><a href="../ajax/custom_data_property.html">Use a data source other than aaData (the default)</a></li>
  634. <li><a href="../ajax/objects_subarrays.html">Read column data from sub-arrays</a></li>
  635. <li><a href="../ajax/deep.html">Read column data from deeply nested properties</a></li>
  636. </ul>
  637. <h2>Plug-ins</h2>
  638. <ul>
  639. <li><a href="../plug-ins/plugin_api.html">Add custom API functions</a></li>
  640. <li><a href="../plug-ins/sorting_plugin.html">Sorting and automatic type detection</a></li>
  641. <li><a href="../plug-ins/sorting_sType.html">Sorting without automatic type detection</a></li>
  642. <li><a href="../plug-ins/paging_plugin.html">Custom pagination controls</a></li>
  643. <li><a href="../plug-ins/range_filtering.html">Range filtering / custom filtering</a></li>
  644. <li><a href="../plug-ins/dom_sort.html">Live DOM sorting</a></li>
  645. <li><a href="../plug-ins/html_sort.html">Automatic HTML type detection</a></li>
  646. </ul>
  647. </div>
  648. <div id="footer" class="clear" style="text-align:center;">
  649. <p>
  650. Please refer to the <a href="http://www.datatables.net/usage">DataTables documentation</a> for full information about its API properties and methods.<br>
  651. 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.
  652. </p>
  653. <span style="font-size:10px;">
  654. DataTables designed and created by <a href="http://www.sprymedia.co.uk">Allan Jardine</a> &copy; 2007-2011<br>
  655. 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>.
  656. </span>
  657. </div>
  658. </div>
  659. </body>
  660. </html>