annotate DataTables-1.9.4/examples/data_sources/js_array.html @ 7:0f2b740536fb draft

Uploaded
author saskia-hiltemann
date Mon, 21 Aug 2017 09:16:07 -0400
parents ac5f9272033b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
2 <html>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
3 <head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
5 <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/media/images/favicon.ico" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
6
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
7 <title>DataTables example</title>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
8 <style type="text/css" title="currentStyle">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
9 @import "../../media/css/demo_page.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
10 @import "../../media/css/demo_table.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
11 </style>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12 <script type="text/javascript" language="javascript" src="../../media/js/jquery.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 <script type="text/javascript" language="javascript" src="../../media/js/jquery.dataTables.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 <script type="text/javascript" charset="utf-8">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 /* Data set - can contain whatever information you want */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 var aDataSet = [
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 ['Trident','Internet Explorer 4.0','Win 95+','4','X'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 ['Trident','Internet Explorer 5.0','Win 95+','5','C'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 ['Trident','Internet Explorer 5.5','Win 95+','5.5','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 ['Trident','Internet Explorer 6','Win 98+','6','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 ['Trident','Internet Explorer 7','Win XP SP2+','7','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 ['Trident','AOL browser (AOL desktop)','Win XP','6','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 ['Gecko','Firefox 1.0','Win 98+ / OSX.2+','1.7','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 ['Gecko','Firefox 1.5','Win 98+ / OSX.2+','1.8','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 ['Gecko','Firefox 2.0','Win 98+ / OSX.2+','1.8','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 ['Gecko','Firefox 3.0','Win 2k+ / OSX.3+','1.9','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 ['Gecko','Camino 1.0','OSX.2+','1.8','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 ['Gecko','Camino 1.5','OSX.3+','1.8','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29 ['Gecko','Netscape 7.2','Win 95+ / Mac OS 8.6-9.2','1.7','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 ['Gecko','Netscape Browser 8','Win 98SE+','1.7','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31 ['Gecko','Netscape Navigator 9','Win 98+ / OSX.2+','1.8','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32 ['Gecko','Mozilla 1.0','Win 95+ / OSX.1+',1,'A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 ['Gecko','Mozilla 1.1','Win 95+ / OSX.1+',1.1,'A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 ['Gecko','Mozilla 1.2','Win 95+ / OSX.1+',1.2,'A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 ['Gecko','Mozilla 1.3','Win 95+ / OSX.1+',1.3,'A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 ['Gecko','Mozilla 1.4','Win 95+ / OSX.1+',1.4,'A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 ['Gecko','Mozilla 1.5','Win 95+ / OSX.1+',1.5,'A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 ['Gecko','Mozilla 1.6','Win 95+ / OSX.1+',1.6,'A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 ['Gecko','Mozilla 1.7','Win 98+ / OSX.1+',1.7,'A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 ['Gecko','Mozilla 1.8','Win 98+ / OSX.1+',1.8,'A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41 ['Gecko','Seamonkey 1.1','Win 98+ / OSX.2+','1.8','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 ['Gecko','Epiphany 2.20','Gnome','1.8','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43 ['Webkit','Safari 1.2','OSX.3','125.5','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44 ['Webkit','Safari 1.3','OSX.3','312.8','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 ['Webkit','Safari 2.0','OSX.4+','419.3','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
46 ['Webkit','Safari 3.0','OSX.4+','522.1','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 ['Webkit','OmniWeb 5.5','OSX.4+','420','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48 ['Webkit','iPod Touch / iPhone','iPod','420.1','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49 ['Webkit','S60','S60','413','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50 ['Presto','Opera 7.0','Win 95+ / OSX.1+','-','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51 ['Presto','Opera 7.5','Win 95+ / OSX.2+','-','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52 ['Presto','Opera 8.0','Win 95+ / OSX.2+','-','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 ['Presto','Opera 8.5','Win 95+ / OSX.2+','-','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 ['Presto','Opera 9.0','Win 95+ / OSX.3+','-','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 ['Presto','Opera 9.2','Win 88+ / OSX.3+','-','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56 ['Presto','Opera 9.5','Win 88+ / OSX.3+','-','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57 ['Presto','Opera for Wii','Wii','-','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58 ['Presto','Nokia N800','N800','-','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 ['Presto','Nintendo DS browser','Nintendo DS','8.5','C/A<sup>1</sup>'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60 ['KHTML','Konqureror 3.1','KDE 3.1','3.1','C'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
61 ['KHTML','Konqureror 3.3','KDE 3.3','3.3','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62 ['KHTML','Konqureror 3.5','KDE 3.5','3.5','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63 ['Tasman','Internet Explorer 4.5','Mac OS 8-9','-','X'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 ['Tasman','Internet Explorer 5.1','Mac OS 7.6-9','1','C'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65 ['Tasman','Internet Explorer 5.2','Mac OS 8-X','1','C'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66 ['Misc','NetFront 3.1','Embedded devices','-','C'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
67 ['Misc','NetFront 3.4','Embedded devices','-','A'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
68 ['Misc','Dillo 0.8','Embedded devices','-','X'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
69 ['Misc','Links','Text only','-','X'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
70 ['Misc','Lynx','Text only','-','X'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
71 ['Misc','IE Mobile','Windows Mobile 6','-','C'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
72 ['Misc','PSP browser','PSP','-','C'],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
73 ['Other browsers','All others','-','-','U']
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
74 ];
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
75
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
76 $(document).ready(function() {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
77 $('#dynamic').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
78 $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
79 "aaData": aDataSet,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
80 "aoColumns": [
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
81 { "sTitle": "Engine" },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
82 { "sTitle": "Browser" },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
83 { "sTitle": "Platform" },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
84 { "sTitle": "Version", "sClass": "center" },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
85 { "sTitle": "Grade", "sClass": "center" }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
86 ]
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
87 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
88 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
89 </script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
90 </head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
91 <body id="dt_example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
92 <div id="container">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
93 <div class="full_width big">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
94 DataTables dynamic creation example
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
95 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
96
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
97 <h1>Preamble</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
98 <p>At times you will wish to be able to create a table from dynamic information passed directly to DataTables, rather than having it read from the document. This is achieved using the "aaData" array in the initialisation object. A table node must first be created before the initialiser is called (as shown in the code below). This is also useful for optimisation - if you are able to format the data as required, this method can save a lot of DOM parsing to create a table.</p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
99
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
100 <h1>Live example</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
101 <div id="dynamic"></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
102 <div class="spacer"></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
103
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
104
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
105 <h1>Initialisation code</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
106 <pre class="brush: js;">$(document).ready(function() {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
107 $('#demo').html( '&lt;table cellpadding="0" cellspacing="0" border="0" class="display" id="example"&gt;&lt;/table&gt;' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
108 $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
109 "aaData": [
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
110 /* Reduced data set */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
111 [ "Trident", "Internet Explorer 4.0", "Win 95+", 4, "X" ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
112 [ "Trident", "Internet Explorer 5.0", "Win 95+", 5, "C" ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
113 [ "Trident", "Internet Explorer 5.5", "Win 95+", 5.5, "A" ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
114 [ "Trident", "Internet Explorer 6.0", "Win 98+", 6, "A" ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
115 [ "Trident", "Internet Explorer 7.0", "Win XP SP2+", 7, "A" ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
116 [ "Gecko", "Firefox 1.5", "Win 98+ / OSX.2+", 1.8, "A" ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
117 [ "Gecko", "Firefox 2", "Win 98+ / OSX.2+", 1.8, "A" ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
118 [ "Gecko", "Firefox 3", "Win 2k+ / OSX.3+", 1.9, "A" ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
119 [ "Webkit", "Safari 1.2", "OSX.3", 125.5, "A" ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
120 [ "Webkit", "Safari 1.3", "OSX.3", 312.8, "A" ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
121 [ "Webkit", "Safari 2.0", "OSX.4+", 419.3, "A" ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
122 [ "Webkit", "Safari 3.0", "OSX.4+", 522.1, "A" ]
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
123 ],
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
124 "aoColumns": [
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
125 { "sTitle": "Engine" },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
126 { "sTitle": "Browser" },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
127 { "sTitle": "Platform" },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
128 { "sTitle": "Version", "sClass": "center" },
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
129 { "sTitle": "Grade", "sClass": "center" }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
130 ]
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
131 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
132 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
133 <style type="text/css">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
134 @import "../examples_support/syntax/css/shCore.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
135 </style>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
136 <script type="text/javascript" language="javascript" src="../examples_support/syntax/js/shCore.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
137
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
138
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
139 <h1>Other examples</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
140 <div class="demo_links">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
141 <h2>Basic initialisation</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
142 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
143 <li><a href="../basic_init/zero_config.html">Zero configuration</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
144 <li><a href="../basic_init/filter_only.html">Feature enablement</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
145 <li><a href="../basic_init/table_sorting.html">Sorting data</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
146 <li><a href="../basic_init/multi_col_sort.html">Multi-column sorting</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
147 <li><a href="../basic_init/multiple_tables.html">Multiple tables</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
148 <li><a href="../basic_init/hidden_columns.html">Hidden columns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
149 <li><a href="../basic_init/complex_header.html">Complex headers - grouping with colspan</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
150 <li><a href="../basic_init/dom.html">DOM positioning</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
151 <li><a href="../basic_init/flexible_width.html">Flexible table width</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
152 <li><a href="../basic_init/state_save.html">State saving</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
153 <li><a href="../basic_init/alt_pagination.html">Alternative pagination styles</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
154 <li>Scrolling: <br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
155 <a href="../basic_init/scroll_x.html">Horizontal</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
156 <a href="../basic_init/scroll_y.html">Vertical</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
157 <a href="../basic_init/scroll_xy.html">Both</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
158 <a href="../basic_init/scroll_y_theme.html">Themed</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
159 <a href="../basic_init/scroll_y_infinite.html">Infinite</a>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
160 </li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
161 <li><a href="../basic_init/language.html">Change language information (internationalisation)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
162 <li><a href="../basic_init/themes.html">ThemeRoller themes (Smoothness)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
163 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
164
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
165 <h2>Advanced initialisation</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
166 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
167 <li>Events: <br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
168 <a href="../advanced_init/events_live.html">Live events</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
169 <a href="../advanced_init/events_pre_init.html">Pre-init</a> /
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
170 <a href="../advanced_init/events_post_init.html">Post-init</a>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
171 </li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
172 <li><a href="../advanced_init/column_render.html">Column rendering</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
173 <li><a href="../advanced_init/html_sort.html">Sorting without HTML tags</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
174 <li><a href="../advanced_init/dom_multiple_elements.html">Multiple table controls (sDom)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
175 <li><a href="../advanced_init/length_menu.html">Defining length menu options</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
176 <li><a href="../advanced_init/complex_header.html">Complex headers and hidden columns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
177 <li><a href="../advanced_init/dom_toolbar.html">Custom toolbar (element) around table</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
178 <li><a href="../advanced_init/highlight.html">Row highlighting with CSS</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
179 <li><a href="../advanced_init/row_grouping.html">Row grouping</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
180 <li><a href="../advanced_init/row_callback.html">Row callback</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
181 <li><a href="../advanced_init/footer_callback.html">Footer callback</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
182 <li><a href="../advanced_init/sorting_control.html">Control sorting direction of columns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
183 <li><a href="../advanced_init/language_file.html">Change language information from a file (internationalisation)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
184 <li><a href="../advanced_init/defaults.html">Setting defaults</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
185 <li><a href="../advanced_init/localstorage.html">State saving with localStorage</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
186 <li><a href="../advanced_init/dt_events.html">Custom events</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
187 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
188
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
189 <h2>API</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
190 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
191 <li><a href="../api/add_row.html">Dynamically add a new row</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
192 <li><a href="../api/multi_filter.html">Individual column filtering (using "input" elements)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
193 <li><a href="../api/multi_filter_select.html">Individual column filtering (using "select" elements)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
194 <li><a href="../api/highlight.html">Highlight rows and columns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
195 <li><a href="../api/row_details.html">Show and hide details about a particular record</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
196 <li><a href="../api/select_row.html">User selectable rows (multiple rows)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
197 <li><a href="../api/select_single_row.html">User selectable rows (single row) and delete rows</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
198 <li><a href="../api/editable.html">Editable rows (with jEditable)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
199 <li><a href="../api/form.html">Submit form with elements in table</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
200 <li><a href="../api/counter_column.html">Index column (static number column)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
201 <li><a href="../api/show_hide.html">Show and hide columns dynamically</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
202 <li><a href="../api/api_in_init.html">API function use in initialisation object (callback)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
203 <li><a href="../api/tabs_and_scrolling.html">DataTables scrolling and tabs</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
204 <li><a href="../api/regex.html">Regular expression filtering</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
205 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
206 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
207
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
208 <div class="demo_links">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
209 <h2>Data sources</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
210 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
211 <li><a href="../data_sources/dom.html">DOM</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
212 <li><a href="../data_sources/js_array.html">Javascript array</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
213 <li><a href="../data_sources/ajax.html">Ajax source</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
214 <li><a href="../data_sources/server_side.html">Server side processing</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
215 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
216
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
217 <h2>Server-side processing</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
218 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
219 <li><a href="../server_side/server_side.html">Obtain server-side data</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
220 <li><a href="../server_side/custom_vars.html">Add extra HTTP variables</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
221 <li><a href="../server_side/post.html">Use HTTP POST</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
222 <li><a href="../server_side/ids.html">Automatic addition of IDs and classes to rows</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
223 <li><a href="../server_side/object_data.html">Reading table data from objects</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
224 <li><a href="../server_side/row_details.html">Show and hide details about a particular record</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
225 <li><a href="../server_side/select_rows.html">User selectable rows (multiple rows)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
226 <li><a href="../server_side/jsonp.html">JSONP for a cross domain data source</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
227 <li><a href="../server_side/editable.html">jEditable integration with DataTables</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
228 <li><a href="../server_side/defer_loading.html">Deferred loading of Ajax data</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
229 <li><a href="../server_side/pipeline.html">Pipelining data (reduce Ajax calls for paging)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
230 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
231
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
232 <h2>Ajax data source</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
233 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
234 <li><a href="../ajax/ajax.html">Ajax sourced data (array of arrays)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
235 <li><a href="../ajax/objects.html">Ajax sourced data (array of objects)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
236 <li><a href="../ajax/defer_render.html">Deferred DOM creation for extra speed</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
237 <li><a href="../ajax/null_data_source.html">Empty data source columns</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
238 <li><a href="../ajax/custom_data_property.html">Use a data source other than aaData (the default)</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
239 <li><a href="../ajax/objects_subarrays.html">Read column data from sub-arrays</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
240 <li><a href="../ajax/deep.html">Read column data from deeply nested properties</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
241 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
242
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
243 <h2>Plug-ins</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
244 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
245 <li><a href="../plug-ins/plugin_api.html">Add custom API functions</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
246 <li><a href="../plug-ins/sorting_plugin.html">Sorting and automatic type detection</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
247 <li><a href="../plug-ins/sorting_sType.html">Sorting without automatic type detection</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
248 <li><a href="../plug-ins/paging_plugin.html">Custom pagination controls</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
249 <li><a href="../plug-ins/range_filtering.html">Range filtering / custom filtering</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
250 <li><a href="../plug-ins/dom_sort.html">Live DOM sorting</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
251 <li><a href="../plug-ins/html_sort.html">Automatic HTML type detection</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
252 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
253 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
254
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
255
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
256 <div id="footer" class="clear" style="text-align:center;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
257 <p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
258 Please refer to the <a href="http://www.datatables.net/usage">DataTables documentation</a> for full information about its API properties and methods.<br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
259 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.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
260 </p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
261
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
262 <span style="font-size:10px;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
263 DataTables designed and created by <a href="http://www.sprymedia.co.uk">Allan Jardine</a> &copy; 2007-2011<br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
264 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>.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
265 </span>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
266 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
267 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
268 </body>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
269 </html>