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