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