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