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