annotate DataTables-1.9.4/extras/ColVis/two_tables.html @ 1:440f4aa3db97 draft

Added option to dowload iReports
author saskia-hiltemann
date Wed, 30 Jul 2014 07:03:43 -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.sprymedia.co.uk/media/images/favicon.ico">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
6
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
7 <title>ColVis 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 @import "media/css/ColVis.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12 </style>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.dataTables.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 <script type="text/javascript" charset="utf-8" src="media/js/ColVis.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 <script type="text/javascript" charset="utf-8">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 $(document).ready( function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 $('table').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 "sDom": 'C<"clear">lfrtip'
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 </script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 </head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 <body id="dt_example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 <div id="container">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 <div class="full_width big">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 ColVis example - two tables with individual controls
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 <h1>Preamble</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31 <p>It can be useful to have DataTables initialise more than one table with a single call can for them to each have individual ColVis controllers. All this requires is a suitable jQuery selector to be used, and DataTables and ColVis will take care of the rest - as shown in this example.</p>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 <h1>Live example</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 <form>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 <div id="demo">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 <thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43 <th>CSS grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 </thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
46 <tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52 <th>CSS grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 </tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 <tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56 <tr class="odd_gradeX">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58 <td>Internet Explorer 4.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 <td>Win 95+ (Entity: &amp;)</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60 <td class="center">4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
61 <td class="center">X</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63 <tr class="even_gradeC">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65 <td>Internet Explorer 5.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66 <td>Win 95+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
67 <td class="center">5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
68 <td class="center">C</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
69 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
70 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
71 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
72 <td>Internet Explorer 5.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
73 <td>Win 95+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
74 <td class="center">5.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
75 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
76 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
77 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
78 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
79 <td>Internet Explorer 6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
80 <td>Win 98+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
81 <td class="center">6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
82 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
83 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
84 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
85 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
86 <td>Internet Explorer 7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
87 <td>Win XP SP2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
88 <td class="center">7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
89 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
90 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
91 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
92 <td>Trident</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
93 <td>AOL browser (AOL desktop)</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
94 <td>Win XP</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
95 <td class="center">6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
96 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
97 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
98 </tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
99 </table>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
100
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
101 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example2">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
102 <thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
103 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
104 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
105 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
106 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
107 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
108 <th>CSS grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
109 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
110 </thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
111 <tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
112 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
113 <th>Rendering engine</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
114 <th>Browser</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
115 <th>Platform(s)</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
116 <th>Engine version</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
117 <th>CSS grade</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
118 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
119 </tfoot>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
120 <tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
121 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
122 <td>Gecko (UTF-8: $¢€)</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
123 <td>Firefox 1.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
124 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
125 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
126 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
127 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
128 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
129 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
130 <td>Firefox 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
131 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
132 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
133 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
134 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
135 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
136 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
137 <td>Firefox 2.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
138 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
139 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
140 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
141 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
142 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
143 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
144 <td>Firefox 3.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
145 <td>Win 2k+ / OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
146 <td class="center">1.9</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
147 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
148 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
149 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
150 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
151 <td>Camino 1.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
152 <td>OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
153 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
154 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
155 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
156 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
157 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
158 <td>Camino 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
159 <td>OSX.3+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
160 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
161 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
162 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
163 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
164 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
165 <td>Netscape 7.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
166 <td>Win 95+ / Mac OS 8.6-9.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
167 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
168 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
169 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
170 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
171 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
172 <td>Netscape Browser 8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
173 <td>Win 98SE+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
174 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
175 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
176 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
177 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
178 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
179 <td>Netscape Navigator 9</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
180 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
181 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
182 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
183 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
184 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
185 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
186 <td>Mozilla 1.0</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
187 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
188 <td class="center">1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
189 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
190 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
191 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
192 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
193 <td>Mozilla 1.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
194 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
195 <td class="center">1.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
196 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
197 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
198 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
199 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
200 <td>Mozilla 1.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
201 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
202 <td class="center">1.2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
203 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
204 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
205 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
206 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
207 <td>Mozilla 1.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
208 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
209 <td class="center">1.3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
210 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
211 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
212 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
213 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
214 <td>Mozilla 1.4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
215 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
216 <td class="center">1.4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
217 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
218 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
219 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
220 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
221 <td>Mozilla 1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
222 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
223 <td class="center">1.5</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
224 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
225 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
226 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
227 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
228 <td>Mozilla 1.6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
229 <td>Win 95+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
230 <td class="center">1.6</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
231 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
232 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
233 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
234 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
235 <td>Mozilla 1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
236 <td>Win 98+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
237 <td class="center">1.7</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
238 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
239 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
240 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
241 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
242 <td>Mozilla 1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
243 <td>Win 98+ / OSX.1+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
244 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
245 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
246 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
247 <tr class="odd_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
248 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
249 <td>Seamonkey 1.1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
250 <td>Win 98+ / OSX.2+</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
251 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
252 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
253 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
254 <tr class="even_gradeA">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
255 <td>Gecko</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
256 <td>Epiphany 2.20</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
257 <td>Gnome</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
258 <td class="center">1.8</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
259 <td class="center">A</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
260 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
261 </tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
262 </table>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
263 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
264 </form>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
265 <div class="spacer"></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
266
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
267
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
268 <h1>Examples</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
269 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
270 <li><a href="index.html">Basic initialisation</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
271 <li><a href="mouseover.html">Activate with a mouseover rather than click</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
272 <li><a href="text.html">Custom text in the button</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
273 <li><a href="theme.html">Using with jQuery UI ThemeRoller</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
274 <li><a href="exclude_columns.html">Excluding columns from the show / hide list</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
275 <li><a href="two_tables.html">Two tables initialised together - individual controls</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
276 <li><a href="two_tables_identical.html">Two tables initialised together - shared control</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
277 <li><a href="style.html">Alternative styling and reset to original</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
278 <li><a href="title_callback.html">Customisation of the button label with a callback</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
279 </ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
280
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
281
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
282 <h1>Initialisation code</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
283 <pre>$(document).ready( function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
284 $('table').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
285 "sDom": 'C&lt;"clear"&gt;lfrtip'
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
286 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
287 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
288
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
289 <div id="footer" style="text-align:center;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
290 <span style="font-size:10px;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
291 ColVis and DataTables &copy; Allan Jardine 2009-2010
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
292 </span>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
293 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
294 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
295 </body>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
296 </html>