Add datatables-1.9.4 and jquery-1.10.2 libraries
[proteocache.git] / webapp / resources / datatables-1.9.4 / extras / FixedColumns / server-side-processing.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3         <head>
4                 <meta http-equiv="content-type" content="text/html; charset=utf-8">
5                 <link rel="shortcut icon" type="image/ico" href="http://www.sprymedia.co.uk/media/images/favicon.ico">
6                 
7                 <title>FixedColumns example</title>
8                 <style type="text/css" title="currentStyle">
9                         @import "../../media/css/demo_page.css";
10                         @import "../../media/css/demo_table.css";
11                 </style>
12                 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.js"></script>
13                 <script type="text/javascript" charset="utf-8" src="../../media/js/jquery.dataTables.js"></script>
14                 <script type="text/javascript" charset="utf-8" src="media/js/FixedColumns.js"></script>
15                 <script type="text/javascript" charset="utf-8">
16                         $(document).ready( function () {
17                                 var oTable = $('#example').dataTable( {
18                                         "bProcessing": true,
19                                         "bServerSide": true,
20                                         "sAjaxSource": "../../examples/server_side/scripts/server_processing.php",
21                                         "sScrollX": "100%",
22                                         "sScrollXInner": "150%",
23                                         "fnInitComplete": function () {
24                                                 new FixedColumns( oTable );
25                                         }
26                                 } );
27                         } );
28                 </script>
29         </head>
30         <body id="dt_example">
31                 <div id="container">
32                         <div class="full_width big">
33                                 FixedColumns example - server-side processing
34                         </div>
35                         
36                         <h1>Preamble</h1>
37                         <p>This example shows how FixedColumns can be used with server-side processing in DataTables to cope with very large tables. The only special thing to consider here is that the FixedColumns instance must be initialised once the table has completed its full initialisation - this is done using <i>fnInitComplete</i>.</p>
38                         
39                         <h1>Live example</h1>
40                         <div id="demo">
41 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
42         <thead>
43                 <tr>
44                         <th>Rendering engine</th>
45                         <th>Browser</th>
46                         <th>Platform(s)</th>
47                         <th>Engine version</th>
48                         <th>CSS grade</th>
49                 </tr>
50         </thead>
51         <tfoot>
52                 <tr>
53                         <th>Rendering engine</th>
54                         <th>Browser</th>
55                         <th>Platform(s)</th>
56                         <th>Engine version</th>
57                         <th>CSS grade</th>
58                 </tr>
59         </tfoot>
60         <tbody>
61         </tbody>
62 </table>
63                         </div>
64                         <div class="spacer"></div>
65                         
66                         
67                         <h1>Initialisation code</h1>
68                         <pre>$(document).ready( function () {
69         var oTable = $('#example').dataTable( {
70                 "bProcessing": true,
71                 "bServerSide": true,
72                 "sAjaxSource": "../../examples/server_side/scripts/server_processing.php",
73                 "sScrollX": "100%",
74                 "sScrollXInner": "150%",
75                 "fnInitComplete": function () {
76             new FixedColumns( oTable );
77           }
78         } );
79 } );</pre>
80
81
82                         <h1>Documentation</h1>
83                         <ul>
84                                 <li><a href="http://datatables.net/extras/fixedcolumns">Usage</a></li>
85                                 <li><a href="http://datatables.net/docs/FixedColumns">API / parameters</a></li>
86                         </ul>
87
88                         <h1>Basic examples</h1>
89                         <ul>
90                                 <li><a href="index.html">Basic demo of FixedColumns with zero initialisation</a></li>
91                                 <li><a href="left_right_columns.html">Fix the left and right columns in place</a></li>
92                                 <li><a href="index_column.html">Index column attached to side of the table</a></li>
93                                 <li><a href="x_y_scrolling.html">Index column, but with Y scrolling and no pagination</a></li>
94                                 <li><a href="two_columns.html">Two columns fixed in place</a></li>
95                                 <li><a href="right_column.html">Fix the right column in place</a></li>
96                                 <li><a href="css_size.html">Speeding up row height matching with CSS</a></li>
97                                 <li><a href="themed.html">jQuery UI themed table with FixedColumns</a></li>
98                         </ul>
99                         
100                         <h1>Advanced examples</h1>
101                         <ul>
102                                 <li><a href="rowspan.html">Using ROWSPAN with FixedColumns</a></li>
103                                 <li><a href="server-side-processing.html">Server-side processing with FixedColumns</a></li>
104                                 <li><a href="col_filter.html">Individual column filtering</a></li>
105                                 <li><a href="scale_fixed.html">Setting the fixed column width and resizing the table</a></li>
106                                 <li><a href="scale_relative.html">Setting the fixed column width with relative sizing</a></li>
107                                 <li><a href="row_grouping_height.html">Row grouping by grouping like rows in the fixed column</a></li>
108                                 <li><a href="row_grouping.html">Row grouping by inserting a grouping row</a></li>
109                         <ul>
110                         
111                         
112                         <div id="footer" style="text-align:center;">
113                                 <span style="font-size:10px;">
114                                         FixedColumns and DataTables &copy; Allan Jardine 2011.<br>
115                                 </span>
116                         </div>
117                 </div>
118         </body>
119 </html>