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