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