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