Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
<!DOCTYPE html>
2
<html>
3
<head>
4
        <meta charset="utf-8">
5
        <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
6
        <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
7
 
8
        <title>DataTables example - API plug-in methods</title>
9
        <link rel="stylesheet" type="text/css" href="../../media/css/jquery.dataTables.css">
10
        <link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
11
        <link rel="stylesheet" type="text/css" href="../resources/demo.css">
12
        <style type="text/css" class="init">
13
 
14
        </style>
15
        <script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
16
        <script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
17
        <script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js"></script>
18
        <script type="text/javascript" language="javascript" src="../resources/demo.js"></script>
19
        <script type="text/javascript" language="javascript" class="init">
20
 
21
 
22
$.fn.dataTable.Api.register( 'column().data().sum()', function () {
23
        return this.reduce( function (a, b) {
24
                var x = parseFloat( a ) || 0;
25
                var y = parseFloat( b ) || 0;
26
                return x + y;
27
        } );
28
} );
29
 
30
/* Init the table and fire off a call to get the hidden nodes. */
31
$(document).ready(function() {
32
        var table = $('#example').DataTable();
33
 
34
        $('<button>Click to sum age in all rows</button>')
35
                .prependTo( '#demo' )
36
                .on( 'click', function () {
37
                        alert( 'Column sum is: '+ table.column( 3 ).data().sum() );
38
                } );
39
 
40
        $('<button>Click to sum age of visible rows</button>')
41
                .prependTo( '#demo' )
42
                .on( 'click', function () {
43
                        alert( 'Column sum is: '+ table.column( 3, {page:'current'} ).data().sum() );
44
                } );
45
} );
46
 
47
 
48
        </script>
49
</head>
50
 
51
<body class="dt-example">
52
        <div class="container">
53
                <section>
54
                        <h1>DataTables example <span>API plug-in methods</span></h1>
55
 
56
                        <div class="info">
57
                                <p>The DataTables API is designed to be fully extensible, with custom functions being very easy to add
58
                                using the <code>$.fn.dataTable.Api.register</code> function. This function takes two arguments; the
59
                                first being the name of the method to be added and its chaining hierarchy, and the second the function
60
                                itself.</p>
61
 
62
                                <p>This example shows how a <code>sum()</code> method can easily be added to the Api so you can get the
63
                                sum of a column in a single line: <code>table.column().data().sum()</code>. Due to the chaining of the
64
                                methods, this allows <code>sum()</code> to very easily give the sum for any selected column, and to
65
                                limit the sum to just the current page, filtered data or all pages. This is done using the options for
66
                                the <a href="//datatables.net/reference/api/column()"><code class="api" title=
67
                                "DataTables API method">column()<span>DT</span></code></a> method and the options for its
68
                                selectors.</p>
69
 
70
                                <p>For more information about API plug-ins; creating them and their requirements, please refer to the
71
                                plug-in development documentation.</p>
72
                        </div>
73
                        <div id="demo">
74
 
75
                        <table id="example" class="display" cellspacing="0" width="100%">
76
                                <thead>
77
                                        <tr>
78
                                                <th>Name</th>
79
                                                <th>Position</th>
80
                                                <th>Office</th>
81
                                                <th>Age</th>
82
                                                <th>Start date</th>
83
                                                <th>Salary</th>
84
                                        </tr>
85
                                </thead>
86
 
87
                                <tfoot>
88
                                        <tr>
89
                                                <th>Name</th>
90
                                                <th>Position</th>
91
                                                <th>Office</th>
92
                                                <th>Age</th>
93
                                                <th>Start date</th>
94
                                                <th>Salary</th>
95
                                        </tr>
96
                                </tfoot>
97
 
98
                                <tbody>
99
                                        <tr>
100
                                                <td>Tiger Nixon</td>
101
                                                <td>System Architect</td>
102
                                                <td>Edinburgh</td>
103
                                                <td>61</td>
104
                                                <td>2011/04/25</td>
105
                                                <td>$320,800</td>
106
                                        </tr>
107
                                        <tr>
108
                                                <td>Garrett Winters</td>
109
                                                <td>Accountant</td>
110
                                                <td>Tokyo</td>
111
                                                <td>63</td>
112
                                                <td>2011/07/25</td>
113
                                                <td>$170,750</td>
114
                                        </tr>
115
                                        <tr>
116
                                                <td>Ashton Cox</td>
117
                                                <td>Junior Technical Author</td>
118
                                                <td>San Francisco</td>
119
                                                <td>66</td>
120
                                                <td>2009/01/12</td>
121
                                                <td>$86,000</td>
122
                                        </tr>
123
                                        <tr>
124
                                                <td>Cedric Kelly</td>
125
                                                <td>Senior Javascript Developer</td>
126
                                                <td>Edinburgh</td>
127
                                                <td>22</td>
128
                                                <td>2012/03/29</td>
129
                                                <td>$433,060</td>
130
                                        </tr>
131
                                        <tr>
132
                                                <td>Airi Satou</td>
133
                                                <td>Accountant</td>
134
                                                <td>Tokyo</td>
135
                                                <td>33</td>
136
                                                <td>2008/11/28</td>
137
                                                <td>$162,700</td>
138
                                        </tr>
139
                                        <tr>
140
                                                <td>Brielle Williamson</td>
141
                                                <td>Integration Specialist</td>
142
                                                <td>New York</td>
143
                                                <td>61</td>
144
                                                <td>2012/12/02</td>
145
                                                <td>$372,000</td>
146
                                        </tr>
147
                                        <tr>
148
                                                <td>Herrod Chandler</td>
149
                                                <td>Sales Assistant</td>
150
                                                <td>San Francisco</td>
151
                                                <td>59</td>
152
                                                <td>2012/08/06</td>
153
                                                <td>$137,500</td>
154
                                        </tr>
155
                                        <tr>
156
                                                <td>Rhona Davidson</td>
157
                                                <td>Integration Specialist</td>
158
                                                <td>Tokyo</td>
159
                                                <td>55</td>
160
                                                <td>2010/10/14</td>
161
                                                <td>$327,900</td>
162
                                        </tr>
163
                                        <tr>
164
                                                <td>Colleen Hurst</td>
165
                                                <td>Javascript Developer</td>
166
                                                <td>San Francisco</td>
167
                                                <td>39</td>
168
                                                <td>2009/09/15</td>
169
                                                <td>$205,500</td>
170
                                        </tr>
171
                                        <tr>
172
                                                <td>Sonya Frost</td>
173
                                                <td>Software Engineer</td>
174
                                                <td>Edinburgh</td>
175
                                                <td>23</td>
176
                                                <td>2008/12/13</td>
177
                                                <td>$103,600</td>
178
                                        </tr>
179
                                        <tr>
180
                                                <td>Jena Gaines</td>
181
                                                <td>Office Manager</td>
182
                                                <td>London</td>
183
                                                <td>30</td>
184
                                                <td>2008/12/19</td>
185
                                                <td>$90,560</td>
186
                                        </tr>
187
                                        <tr>
188
                                                <td>Quinn Flynn</td>
189
                                                <td>Support Lead</td>
190
                                                <td>Edinburgh</td>
191
                                                <td>22</td>
192
                                                <td>2013/03/03</td>
193
                                                <td>$342,000</td>
194
                                        </tr>
195
                                        <tr>
196
                                                <td>Charde Marshall</td>
197
                                                <td>Regional Director</td>
198
                                                <td>San Francisco</td>
199
                                                <td>36</td>
200
                                                <td>2008/10/16</td>
201
                                                <td>$470,600</td>
202
                                        </tr>
203
                                        <tr>
204
                                                <td>Haley Kennedy</td>
205
                                                <td>Senior Marketing Designer</td>
206
                                                <td>London</td>
207
                                                <td>43</td>
208
                                                <td>2012/12/18</td>
209
                                                <td>$313,500</td>
210
                                        </tr>
211
                                        <tr>
212
                                                <td>Tatyana Fitzpatrick</td>
213
                                                <td>Regional Director</td>
214
                                                <td>London</td>
215
                                                <td>19</td>
216
                                                <td>2010/03/17</td>
217
                                                <td>$385,750</td>
218
                                        </tr>
219
                                        <tr>
220
                                                <td>Michael Silva</td>
221
                                                <td>Marketing Designer</td>
222
                                                <td>London</td>
223
                                                <td>66</td>
224
                                                <td>2012/11/27</td>
225
                                                <td>$198,500</td>
226
                                        </tr>
227
                                        <tr>
228
                                                <td>Paul Byrd</td>
229
                                                <td>Chief Financial Officer (CFO)</td>
230
                                                <td>New York</td>
231
                                                <td>64</td>
232
                                                <td>2010/06/09</td>
233
                                                <td>$725,000</td>
234
                                        </tr>
235
                                        <tr>
236
                                                <td>Gloria Little</td>
237
                                                <td>Systems Administrator</td>
238
                                                <td>New York</td>
239
                                                <td>59</td>
240
                                                <td>2009/04/10</td>
241
                                                <td>$237,500</td>
242
                                        </tr>
243
                                        <tr>
244
                                                <td>Bradley Greer</td>
245
                                                <td>Software Engineer</td>
246
                                                <td>London</td>
247
                                                <td>41</td>
248
                                                <td>2012/10/13</td>
249
                                                <td>$132,000</td>
250
                                        </tr>
251
                                        <tr>
252
                                                <td>Dai Rios</td>
253
                                                <td>Personnel Lead</td>
254
                                                <td>Edinburgh</td>
255
                                                <td>35</td>
256
                                                <td>2012/09/26</td>
257
                                                <td>$217,500</td>
258
                                        </tr>
259
                                        <tr>
260
                                                <td>Jenette Caldwell</td>
261
                                                <td>Development Lead</td>
262
                                                <td>New York</td>
263
                                                <td>30</td>
264
                                                <td>2011/09/03</td>
265
                                                <td>$345,000</td>
266
                                        </tr>
267
                                        <tr>
268
                                                <td>Yuri Berry</td>
269
                                                <td>Chief Marketing Officer (CMO)</td>
270
                                                <td>New York</td>
271
                                                <td>40</td>
272
                                                <td>2009/06/25</td>
273
                                                <td>$675,000</td>
274
                                        </tr>
275
                                        <tr>
276
                                                <td>Caesar Vance</td>
277
                                                <td>Pre-Sales Support</td>
278
                                                <td>New York</td>
279
                                                <td>21</td>
280
                                                <td>2011/12/12</td>
281
                                                <td>$106,450</td>
282
                                        </tr>
283
                                        <tr>
284
                                                <td>Doris Wilder</td>
285
                                                <td>Sales Assistant</td>
286
                                                <td>Sidney</td>
287
                                                <td>23</td>
288
                                                <td>2010/09/20</td>
289
                                                <td>$85,600</td>
290
                                        </tr>
291
                                        <tr>
292
                                                <td>Angelica Ramos</td>
293
                                                <td>Chief Executive Officer (CEO)</td>
294
                                                <td>London</td>
295
                                                <td>47</td>
296
                                                <td>2009/10/09</td>
297
                                                <td>$1,200,000</td>
298
                                        </tr>
299
                                        <tr>
300
                                                <td>Gavin Joyce</td>
301
                                                <td>Developer</td>
302
                                                <td>Edinburgh</td>
303
                                                <td>42</td>
304
                                                <td>2010/12/22</td>
305
                                                <td>$92,575</td>
306
                                        </tr>
307
                                        <tr>
308
                                                <td>Jennifer Chang</td>
309
                                                <td>Regional Director</td>
310
                                                <td>Singapore</td>
311
                                                <td>28</td>
312
                                                <td>2010/11/14</td>
313
                                                <td>$357,650</td>
314
                                        </tr>
315
                                        <tr>
316
                                                <td>Brenden Wagner</td>
317
                                                <td>Software Engineer</td>
318
                                                <td>San Francisco</td>
319
                                                <td>28</td>
320
                                                <td>2011/06/07</td>
321
                                                <td>$206,850</td>
322
                                        </tr>
323
                                        <tr>
324
                                                <td>Fiona Green</td>
325
                                                <td>Chief Operating Officer (COO)</td>
326
                                                <td>San Francisco</td>
327
                                                <td>48</td>
328
                                                <td>2010/03/11</td>
329
                                                <td>$850,000</td>
330
                                        </tr>
331
                                        <tr>
332
                                                <td>Shou Itou</td>
333
                                                <td>Regional Marketing</td>
334
                                                <td>Tokyo</td>
335
                                                <td>20</td>
336
                                                <td>2011/08/14</td>
337
                                                <td>$163,000</td>
338
                                        </tr>
339
                                        <tr>
340
                                                <td>Michelle House</td>
341
                                                <td>Integration Specialist</td>
342
                                                <td>Sidney</td>
343
                                                <td>37</td>
344
                                                <td>2011/06/02</td>
345
                                                <td>$95,400</td>
346
                                        </tr>
347
                                        <tr>
348
                                                <td>Suki Burks</td>
349
                                                <td>Developer</td>
350
                                                <td>London</td>
351
                                                <td>53</td>
352
                                                <td>2009/10/22</td>
353
                                                <td>$114,500</td>
354
                                        </tr>
355
                                        <tr>
356
                                                <td>Prescott Bartlett</td>
357
                                                <td>Technical Author</td>
358
                                                <td>London</td>
359
                                                <td>27</td>
360
                                                <td>2011/05/07</td>
361
                                                <td>$145,000</td>
362
                                        </tr>
363
                                        <tr>
364
                                                <td>Gavin Cortez</td>
365
                                                <td>Team Leader</td>
366
                                                <td>San Francisco</td>
367
                                                <td>22</td>
368
                                                <td>2008/10/26</td>
369
                                                <td>$235,500</td>
370
                                        </tr>
371
                                        <tr>
372
                                                <td>Martena Mccray</td>
373
                                                <td>Post-Sales support</td>
374
                                                <td>Edinburgh</td>
375
                                                <td>46</td>
376
                                                <td>2011/03/09</td>
377
                                                <td>$324,050</td>
378
                                        </tr>
379
                                        <tr>
380
                                                <td>Unity Butler</td>
381
                                                <td>Marketing Designer</td>
382
                                                <td>San Francisco</td>
383
                                                <td>47</td>
384
                                                <td>2009/12/09</td>
385
                                                <td>$85,675</td>
386
                                        </tr>
387
                                        <tr>
388
                                                <td>Howard Hatfield</td>
389
                                                <td>Office Manager</td>
390
                                                <td>San Francisco</td>
391
                                                <td>51</td>
392
                                                <td>2008/12/16</td>
393
                                                <td>$164,500</td>
394
                                        </tr>
395
                                        <tr>
396
                                                <td>Hope Fuentes</td>
397
                                                <td>Secretary</td>
398
                                                <td>San Francisco</td>
399
                                                <td>41</td>
400
                                                <td>2010/02/12</td>
401
                                                <td>$109,850</td>
402
                                        </tr>
403
                                        <tr>
404
                                                <td>Vivian Harrell</td>
405
                                                <td>Financial Controller</td>
406
                                                <td>San Francisco</td>
407
                                                <td>62</td>
408
                                                <td>2009/02/14</td>
409
                                                <td>$452,500</td>
410
                                        </tr>
411
                                        <tr>
412
                                                <td>Timothy Mooney</td>
413
                                                <td>Office Manager</td>
414
                                                <td>London</td>
415
                                                <td>37</td>
416
                                                <td>2008/12/11</td>
417
                                                <td>$136,200</td>
418
                                        </tr>
419
                                        <tr>
420
                                                <td>Jackson Bradshaw</td>
421
                                                <td>Director</td>
422
                                                <td>New York</td>
423
                                                <td>65</td>
424
                                                <td>2008/09/26</td>
425
                                                <td>$645,750</td>
426
                                        </tr>
427
                                        <tr>
428
                                                <td>Olivia Liang</td>
429
                                                <td>Support Engineer</td>
430
                                                <td>Singapore</td>
431
                                                <td>64</td>
432
                                                <td>2011/02/03</td>
433
                                                <td>$234,500</td>
434
                                        </tr>
435
                                        <tr>
436
                                                <td>Bruno Nash</td>
437
                                                <td>Software Engineer</td>
438
                                                <td>London</td>
439
                                                <td>38</td>
440
                                                <td>2011/05/03</td>
441
                                                <td>$163,500</td>
442
                                        </tr>
443
                                        <tr>
444
                                                <td>Sakura Yamamoto</td>
445
                                                <td>Support Engineer</td>
446
                                                <td>Tokyo</td>
447
                                                <td>37</td>
448
                                                <td>2009/08/19</td>
449
                                                <td>$139,575</td>
450
                                        </tr>
451
                                        <tr>
452
                                                <td>Thor Walton</td>
453
                                                <td>Developer</td>
454
                                                <td>New York</td>
455
                                                <td>61</td>
456
                                                <td>2013/08/11</td>
457
                                                <td>$98,540</td>
458
                                        </tr>
459
                                        <tr>
460
                                                <td>Finn Camacho</td>
461
                                                <td>Support Engineer</td>
462
                                                <td>San Francisco</td>
463
                                                <td>47</td>
464
                                                <td>2009/07/07</td>
465
                                                <td>$87,500</td>
466
                                        </tr>
467
                                        <tr>
468
                                                <td>Serge Baldwin</td>
469
                                                <td>Data Coordinator</td>
470
                                                <td>Singapore</td>
471
                                                <td>64</td>
472
                                                <td>2012/04/09</td>
473
                                                <td>$138,575</td>
474
                                        </tr>
475
                                        <tr>
476
                                                <td>Zenaida Frank</td>
477
                                                <td>Software Engineer</td>
478
                                                <td>New York</td>
479
                                                <td>63</td>
480
                                                <td>2010/01/04</td>
481
                                                <td>$125,250</td>
482
                                        </tr>
483
                                        <tr>
484
                                                <td>Zorita Serrano</td>
485
                                                <td>Software Engineer</td>
486
                                                <td>San Francisco</td>
487
                                                <td>56</td>
488
                                                <td>2012/06/01</td>
489
                                                <td>$115,000</td>
490
                                        </tr>
491
                                        <tr>
492
                                                <td>Jennifer Acosta</td>
493
                                                <td>Junior Javascript Developer</td>
494
                                                <td>Edinburgh</td>
495
                                                <td>43</td>
496
                                                <td>2013/02/01</td>
497
                                                <td>$75,650</td>
498
                                        </tr>
499
                                        <tr>
500
                                                <td>Cara Stevens</td>
501
                                                <td>Sales Assistant</td>
502
                                                <td>New York</td>
503
                                                <td>46</td>
504
                                                <td>2011/12/06</td>
505
                                                <td>$145,600</td>
506
                                        </tr>
507
                                        <tr>
508
                                                <td>Hermione Butler</td>
509
                                                <td>Regional Director</td>
510
                                                <td>London</td>
511
                                                <td>47</td>
512
                                                <td>2011/03/21</td>
513
                                                <td>$356,250</td>
514
                                        </tr>
515
                                        <tr>
516
                                                <td>Lael Greer</td>
517
                                                <td>Systems Administrator</td>
518
                                                <td>London</td>
519
                                                <td>21</td>
520
                                                <td>2009/02/27</td>
521
                                                <td>$103,500</td>
522
                                        </tr>
523
                                        <tr>
524
                                                <td>Jonas Alexander</td>
525
                                                <td>Developer</td>
526
                                                <td>San Francisco</td>
527
                                                <td>30</td>
528
                                                <td>2010/07/14</td>
529
                                                <td>$86,500</td>
530
                                        </tr>
531
                                        <tr>
532
                                                <td>Shad Decker</td>
533
                                                <td>Regional Director</td>
534
                                                <td>Edinburgh</td>
535
                                                <td>51</td>
536
                                                <td>2008/11/13</td>
537
                                                <td>$183,000</td>
538
                                        </tr>
539
                                        <tr>
540
                                                <td>Michael Bruce</td>
541
                                                <td>Javascript Developer</td>
542
                                                <td>Singapore</td>
543
                                                <td>29</td>
544
                                                <td>2011/06/27</td>
545
                                                <td>$183,000</td>
546
                                        </tr>
547
                                        <tr>
548
                                                <td>Donna Snider</td>
549
                                                <td>Customer Support</td>
550
                                                <td>New York</td>
551
                                                <td>27</td>
552
                                                <td>2011/01/25</td>
553
                                                <td>$112,000</td>
554
                                        </tr>
555
                                </tbody>
556
                        </table>
557
 
558
                        <ul class="tabs">
559
                                <li class="active">Javascript</li>
560
                                <li>HTML</li>
561
                                <li>CSS</li>
562
                                <li>Ajax</li>
563
                                <li>Server-side script</li>
564
                        </ul>
565
 
566
                        <div class="tabs">
567
                                <div class="js">
568
                                        <p>The Javascript shown below is used to initialise the table shown in this
569
                                        example:</p><code class="multiline brush: js;">$.fn.dataTable.Api.register( 'column().data().sum()', function () {
570
        return this.reduce( function (a, b) {
571
                var x = parseFloat( a ) || 0;
572
                var y = parseFloat( b ) || 0;
573
                return x + y;
574
        } );
575
} );
576
 
577
/* Init the table and fire off a call to get the hidden nodes. */
578
$(document).ready(function() {
579
        var table = $('#example').DataTable();
580
 
581
        $('&lt;button&gt;Click to sum age in all rows&lt;/button&gt;')
582
                .prependTo( '#demo' )
583
                .on( 'click', function () {
584
                        alert( 'Column sum is: '+ table.column( 3 ).data().sum() );
585
                } );
586
 
587
        $('&lt;button&gt;Click to sum age of visible rows&lt;/button&gt;')
588
                .prependTo( '#demo' )
589
                .on( 'click', function () {
590
                        alert( 'Column sum is: '+ table.column( 3, {page:'current'} ).data().sum() );
591
                } );
592
} );</code>
593
 
594
                                        <p>In addition to the above code, the following Javascript library files are loaded for use in this
595
                                        example:</p>
596
 
597
                                        <ul>
598
                                                <li><a href="../../media/js/jquery.js">../../media/js/jquery.js</a></li>
599
                                                <li><a href="../../media/js/jquery.dataTables.js">../../media/js/jquery.dataTables.js</a></li>
600
                                        </ul>
601
                                </div>
602
 
603
                                <div class="table">
604
                                        <p>The HTML shown below is the raw HTML table element, before it has been enhanced by
605
                                        DataTables:</p>
606
                                </div>
607
 
608
                                <div class="css">
609
                                        <div>
610
                                                <p>This example uses a little bit of additional CSS beyond what is loaded from the library
611
                                                files (below), in order to correctly display the table. The additional CSS used is shown
612
                                                below:</p><code class="multiline brush: js;"></code>
613
                                        </div>
614
 
615
                                        <p>The following CSS library files are loaded for use in this example to provide the styling of the
616
                                        table:</p>
617
 
618
                                        <ul>
619
                                                <li><a href=
620
                                                "../../media/css/jquery.dataTables.css">../../media/css/jquery.dataTables.css</a></li>
621
                                        </ul>
622
                                </div>
623
 
624
                                <div class="ajax">
625
                                        <p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data
626
                                        will update automatically as any additional data is loaded.</p>
627
                                </div>
628
 
629
                                <div class="php">
630
                                        <p>The script used to perform the server-side processing for this table is shown below. Please note
631
                                        that this is just an example script using PHP. Server-side processing scripts can be written in any
632
                                        language, using <a href="//datatables.net/manual/server-side">the protocol described in the
633
                                        DataTables documentation</a>.</p>
634
                                </div>
635
                        </div>
636
                </section>
637
        </div>
638
 
639
        <section>
640
                <div class="footer">
641
                        <div class="gradient"></div>
642
 
643
                        <div class="liner">
644
                                <h2>Other examples</h2>
645
 
646
                                <div class="toc">
647
                                        <div class="toc-group">
648
                                                <h3><a href="../basic_init/index.html">Basic initialisation</a></h3>
649
                                                <ul class="toc">
650
                                                        <li><a href="../basic_init/zero_configuration.html">Zero configuration</a></li>
651
                                                        <li><a href="../basic_init/filter_only.html">Feature enable / disable</a></li>
652
                                                        <li><a href="../basic_init/table_sorting.html">Default ordering (sorting)</a></li>
653
                                                        <li><a href="../basic_init/multi_col_sort.html">Multi-column ordering</a></li>
654
                                                        <li><a href="../basic_init/multiple_tables.html">Multiple tables</a></li>
655
                                                        <li><a href="../basic_init/hidden_columns.html">Hidden columns</a></li>
656
                                                        <li><a href="../basic_init/complex_header.html">Complex headers (rowspan and
657
                                                        colspan)</a></li>
658
                                                        <li><a href="../basic_init/dom.html">DOM positioning</a></li>
659
                                                        <li><a href="../basic_init/flexible_width.html">Flexible table width</a></li>
660
                                                        <li><a href="../basic_init/state_save.html">State saving</a></li>
661
                                                        <li><a href="../basic_init/alt_pagination.html">Alternative pagination</a></li>
662
                                                        <li><a href="../basic_init/scroll_y.html">Scroll - vertical</a></li>
663
                                                        <li><a href="../basic_init/scroll_x.html">Scroll - horizontal</a></li>
664
                                                        <li><a href="../basic_init/scroll_xy.html">Scroll - horizontal and vertical</a></li>
665
                                                        <li><a href="../basic_init/scroll_y_theme.html">Scroll - vertical with jQuery UI
666
                                                        ThemeRoller</a></li>
667
                                                        <li><a href="../basic_init/comma-decimal.html">Language - Comma decimal place</a></li>
668
                                                        <li><a href="../basic_init/language.html">Language options</a></li>
669
                                                </ul>
670
                                        </div>
671
 
672
                                        <div class="toc-group">
673
                                                <h3><a href="../advanced_init/index.html">Advanced initialisation</a></h3>
674
                                                <ul class="toc">
675
                                                        <li><a href="../advanced_init/events_live.html">DOM / jQuery events</a></li>
676
                                                        <li><a href="../advanced_init/dt_events.html">DataTables events</a></li>
677
                                                        <li><a href="../advanced_init/column_render.html">Column rendering</a></li>
678
                                                        <li><a href="../advanced_init/length_menu.html">Page length options</a></li>
679
                                                        <li><a href="../advanced_init/dom_multiple_elements.html">Multiple table control
680
                                                        elements</a></li>
681
                                                        <li><a href="../advanced_init/complex_header.html">Complex headers (rowspan /
682
                                                        colspan)</a></li>
683
                                                        <li><a href="../advanced_init/html5-data-attributes.html">HTML5 data-* attributes</a></li>
684
                                                        <li><a href="../advanced_init/language_file.html">Language file</a></li>
685
                                                        <li><a href="../advanced_init/defaults.html">Setting defaults</a></li>
686
                                                        <li><a href="../advanced_init/row_callback.html">Row created callback</a></li>
687
                                                        <li><a href="../advanced_init/row_grouping.html">Row grouping</a></li>
688
                                                        <li><a href="../advanced_init/footer_callback.html">Footer callback</a></li>
689
                                                        <li><a href="../advanced_init/dom_toolbar.html">Custom toolbar elements</a></li>
690
                                                        <li><a href="../advanced_init/sort_direction_control.html">Order direction sequence
691
                                                        control</a></li>
692
                                                </ul>
693
                                        </div>
694
 
695
                                        <div class="toc-group">
696
                                                <h3><a href="../styling/index.html">Styling</a></h3>
697
                                                <ul class="toc">
698
                                                        <li><a href="../styling/display.html">Base style</a></li>
699
                                                        <li><a href="../styling/no-classes.html">Base style - no styling classes</a></li>
700
                                                        <li><a href="../styling/cell-border.html">Base style - cell borders</a></li>
701
                                                        <li><a href="../styling/compact.html">Base style - compact</a></li>
702
                                                        <li><a href="../styling/hover.html">Base style - hover</a></li>
703
                                                        <li><a href="../styling/order-column.html">Base style - order-column</a></li>
704
                                                        <li><a href="../styling/row-border.html">Base style - row borders</a></li>
705
                                                        <li><a href="../styling/stripe.html">Base style - stripe</a></li>
706
                                                        <li><a href="../styling/bootstrap.html">Bootstrap</a></li>
707
                                                        <li><a href="../styling/foundation.html">Foundation</a></li>
708
                                                        <li><a href="../styling/jqueryUI.html">jQuery UI ThemeRoller</a></li>
709
                                                </ul>
710
                                        </div>
711
 
712
                                        <div class="toc-group">
713
                                                <h3><a href="../data_sources/index.html">Data sources</a></h3>
714
                                                <ul class="toc">
715
                                                        <li><a href="../data_sources/dom.html">HTML (DOM) sourced data</a></li>
716
                                                        <li><a href="../data_sources/ajax.html">Ajax sourced data</a></li>
717
                                                        <li><a href="../data_sources/js_array.html">Javascript sourced data</a></li>
718
                                                        <li><a href="../data_sources/server_side.html">Server-side processing</a></li>
719
                                                </ul>
720
                                        </div>
721
 
722
                                        <div class="toc-group">
723
                                                <h3><a href="../api/index.html">API</a></h3>
724
                                                <ul class="toc">
725
                                                        <li><a href="../api/add_row.html">Add rows</a></li>
726
                                                        <li><a href="../api/multi_filter.html">Individual column searching (text inputs)</a></li>
727
                                                        <li><a href="../api/multi_filter_select.html">Individual column searching (select
728
                                                        inputs)</a></li>
729
                                                        <li><a href="../api/highlight.html">Highlighting rows and columns</a></li>
730
                                                        <li><a href="../api/row_details.html">Child rows (show extra / detailed
731
                                                        information)</a></li>
732
                                                        <li><a href="../api/select_row.html">Row selection (multiple rows)</a></li>
733
                                                        <li><a href="../api/select_single_row.html">Row selection and deletion (single
734
                                                        row)</a></li>
735
                                                        <li><a href="../api/form.html">Form inputs</a></li>
736
                                                        <li><a href="../api/counter_columns.html">Index column</a></li>
737
                                                        <li><a href="../api/show_hide.html">Show / hide columns dynamically</a></li>
738
                                                        <li><a href="../api/api_in_init.html">Using API in callbacks</a></li>
739
                                                        <li><a href="../api/tabs_and_scrolling.html">Scrolling and jQuery UI tabs</a></li>
740
                                                        <li><a href="../api/regex.html">Search API (regular expressions)</a></li>
741
                                                </ul>
742
                                        </div>
743
 
744
                                        <div class="toc-group">
745
                                                <h3><a href="../ajax/index.html">Ajax</a></h3>
746
                                                <ul class="toc">
747
                                                        <li><a href="../ajax/simple.html">Ajax data source (arrays)</a></li>
748
                                                        <li><a href="../ajax/objects.html">Ajax data source (objects)</a></li>
749
                                                        <li><a href="../ajax/deep.html">Nested object data (objects)</a></li>
750
                                                        <li><a href="../ajax/objects_subarrays.html">Nested object data (arrays)</a></li>
751
                                                        <li><a href="../ajax/orthogonal-data.html">Orthogonal data</a></li>
752
                                                        <li><a href="../ajax/null_data_source.html">Generated content for a column</a></li>
753
                                                        <li><a href="../ajax/custom_data_property.html">Custom data source property</a></li>
754
                                                        <li><a href="../ajax/custom_data_flat.html">Flat array data source</a></li>
755
                                                        <li><a href="../ajax/defer_render.html">Deferred rendering for speed</a></li>
756
                                                </ul>
757
                                        </div>
758
 
759
                                        <div class="toc-group">
760
                                                <h3><a href="../server_side/index.html">Server-side</a></h3>
761
                                                <ul class="toc">
762
                                                        <li><a href="../server_side/simple.html">Server-side processing</a></li>
763
                                                        <li><a href="../server_side/custom_vars.html">Custom HTTP variables</a></li>
764
                                                        <li><a href="../server_side/post.html">POST data</a></li>
765
                                                        <li><a href="../server_side/ids.html">Automatic addition of row ID attributes</a></li>
766
                                                        <li><a href="../server_side/object_data.html">Object data source</a></li>
767
                                                        <li><a href="../server_side/row_details.html">Row details</a></li>
768
                                                        <li><a href="../server_side/select_rows.html">Row selection</a></li>
769
                                                        <li><a href="../server_side/jsonp.html">JSONP data source for remote domains</a></li>
770
                                                        <li><a href="../server_side/defer_loading.html">Deferred loading of data</a></li>
771
                                                        <li><a href="../server_side/pipeline.html">Pipelining data to reduce Ajax calls for
772
                                                        paging</a></li>
773
                                                </ul>
774
                                        </div>
775
 
776
                                        <div class="toc-group">
777
                                                <h3><a href="./index.html">Plug-ins</a></h3>
778
                                                <ul class="toc active">
779
                                                        <li class="active"><a href="./api.html">API plug-in methods</a></li>
780
                                                        <li><a href="./sorting_auto.html">Ordering plug-ins (with type detection)</a></li>
781
                                                        <li><a href="./sorting_manual.html">Ordering plug-ins (no type detection)</a></li>
782
                                                        <li><a href="./range_filtering.html">Custom filtering - range search</a></li>
783
                                                        <li><a href="./dom_sort.html">Live DOM ordering</a></li>
784
                                                </ul>
785
                                        </div>
786
                                </div>
787
 
788
                                <div class="epilogue">
789
                                        <p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full
790
                                        information about its API properties and methods.<br>
791
                                        Additionally, there are a wide range of <a href="http://www.datatables.net/extras">extras</a> and
792
                                        <a href="http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of
793
                                        DataTables.</p>
794
 
795
                                        <p class="copyright">DataTables designed and created by <a href=
796
                                        "http://www.sprymedia.co.uk">SpryMedia Ltd</a> &#169; 2007-2014<br>
797
                                        DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
798
                                </div>
799
                        </div>
800
                </div>
801
        </section>
802
</body>
803
</html>