mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 12:25:16 +00:00
Updated 3rdparty structure
This commit is contained in:
20
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/License.txt
vendored
Executable file
20
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/License.txt
vendored
Executable file
@ -0,0 +1,20 @@
|
||||
Copyright (c) 2010-2015 SpryMedia Limited
|
||||
http://datatables.net
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
42
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/Readme.md
vendored
Executable file
42
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/Readme.md
vendored
Executable file
@ -0,0 +1,42 @@
|
||||
# FixedColumns
|
||||
|
||||
When making use of DataTables' x-axis scrolling feature (`scrollX`), you may wish to fix the left or right most columns in place. This plug-in for DataTables provides exactly this option (for non-scrolling tables, please use the FixedHeader plug-in, which can fix headers, footers and columns). Key features include:
|
||||
|
||||
* Freezes the left most column to the side of the table
|
||||
* Option to freeze two or more columns
|
||||
* Full integration with DataTables' scrolling options
|
||||
|
||||
|
||||
# Installation
|
||||
|
||||
To use FixedColumns, first download DataTables ( http://datatables.net/download ) and place the unzipped FixedColumns package into a `extensions` directory in the DataTables package. This will allow the pages in the examples to operate correctly. To see the examples running, open the `examples` directory in your web-browser.
|
||||
|
||||
|
||||
# Basic usage
|
||||
|
||||
FixedColumns is initialised using the `$.fn.dataTable.FixedColumns()` constructor. For example:
|
||||
|
||||
```js
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );
|
||||
```
|
||||
|
||||
|
||||
# Documentation / support
|
||||
|
||||
* Documentation: http://datatables.net/extensions/FixedColumns/
|
||||
* DataTables support forums: http://datatables.net/forums
|
||||
|
||||
|
||||
# GitHub
|
||||
|
||||
If you fancy getting involved with the development of FixedColumns and help make it better, please refer to its GitHub repo: https://github.com/DataTables/FixedColumns
|
||||
|
25
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/css/dataTables.fixedColumns.css
vendored
Executable file
25
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/css/dataTables.fixedColumns.css
vendored
Executable file
@ -0,0 +1,25 @@
|
||||
|
||||
|
||||
/* Block out what is behind the fixed column's header and footer */
|
||||
table.DTFC_Cloned thead,
|
||||
table.DTFC_Cloned tfoot {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
/* Block out the gap above the scrollbar on the right, when there is a fixed
|
||||
* right column
|
||||
*/
|
||||
div.DTFC_Blocker {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
div.DTFC_LeftWrapper table.dataTable,
|
||||
div.DTFC_RightWrapper table.dataTable {
|
||||
margin-bottom: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
div.DTFC_LeftWrapper table.dataTable.no-footer,
|
||||
div.DTFC_RightWrapper table.dataTable.no-footer {
|
||||
border-bottom: none;
|
||||
}
|
1
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/css/dataTables.fixedColumns.min.css
vendored
Executable file
1
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/css/dataTables.fixedColumns.min.css
vendored
Executable file
@ -0,0 +1 @@
|
||||
table.DTFC_Cloned thead,table.DTFC_Cloned tfoot{background-color:white}div.DTFC_Blocker{background-color:white}div.DTFC_LeftWrapper table.dataTable,div.DTFC_RightWrapper table.dataTable{margin-bottom:0;z-index:2}div.DTFC_LeftWrapper table.dataTable.no-footer,div.DTFC_RightWrapper table.dataTable.no-footer{border-bottom:none}
|
819
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/bootstrap.html
vendored
Executable file
819
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/bootstrap.html
vendored
Executable file
@ -0,0 +1,819 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - Bootstrap</title>
|
||||
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../Plugins/integration/bootstrap/3/dataTables.bootstrap.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
body { font-size: 140%; }
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../Plugins/integration/bootstrap/3/dataTables.bootstrap.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>Bootstrap</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>When displaying a table which scrolls along the x-axis, it can sometimes be useful to the end user for the left most column to be fixed in place, if it shows
|
||||
grouping, index or similar information. This is basically the same idea as 'freeze columns' in Excel. This can be achieved with the FixedColumns plug-in for
|
||||
DataTables, as shown below.</p>
|
||||
|
||||
<p>Note that FixedColumns is suitable only for use with the scrolling features in <a href="http://datatables.net">DataTables</a>. If you want to achieve a similar
|
||||
effect without scrolling enabled, please checkout <a href="http://datatables.net/plug-ins">FixedHeader</a>, also for DataTables.</p>
|
||||
|
||||
<p>FixedColumns is initialised using the constructor <code>new $.fn.dataTable.FixedColumns();</code> - shown below.</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger</td>
|
||||
<td>Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett</td>
|
||||
<td>Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton</td>
|
||||
<td>Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric</td>
|
||||
<td>Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi</td>
|
||||
<td>Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle</td>
|
||||
<td>Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod</td>
|
||||
<td>Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona</td>
|
||||
<td>Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen</td>
|
||||
<td>Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya</td>
|
||||
<td>Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena</td>
|
||||
<td>Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn</td>
|
||||
<td>Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde</td>
|
||||
<td>Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley</td>
|
||||
<td>Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana</td>
|
||||
<td>Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul</td>
|
||||
<td>Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria</td>
|
||||
<td>Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley</td>
|
||||
<td>Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai</td>
|
||||
<td>Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette</td>
|
||||
<td>Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri</td>
|
||||
<td>Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar</td>
|
||||
<td>Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris</td>
|
||||
<td>Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica</td>
|
||||
<td>Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden</td>
|
||||
<td>Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona</td>
|
||||
<td>Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou</td>
|
||||
<td>Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle</td>
|
||||
<td>House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki</td>
|
||||
<td>Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott</td>
|
||||
<td>Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena</td>
|
||||
<td>Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity</td>
|
||||
<td>Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard</td>
|
||||
<td>Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope</td>
|
||||
<td>Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian</td>
|
||||
<td>Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy</td>
|
||||
<td>Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson</td>
|
||||
<td>Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia</td>
|
||||
<td>Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno</td>
|
||||
<td>Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura</td>
|
||||
<td>Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor</td>
|
||||
<td>Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn</td>
|
||||
<td>Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge</td>
|
||||
<td>Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida</td>
|
||||
<td>Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita</td>
|
||||
<td>Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara</td>
|
||||
<td>Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione</td>
|
||||
<td>Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael</td>
|
||||
<td>Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas</td>
|
||||
<td>Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad</td>
|
||||
<td>Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna</td>
|
||||
<td>Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
<li><a href="../../Plugins/integration/bootstrap/3/dataTables.bootstrap.js">../../Plugins/integration/bootstrap/3/dataTables.bootstrap.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">body { font-size: 140%; }
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css</a></li>
|
||||
<li><a href="../../Plugins/integration/bootstrap/3/dataTables.bootstrap.css">../../Plugins/integration/bootstrap/3/dataTables.bootstrap.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li class="active"><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
857
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/col_filter.html
vendored
Executable file
857
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/col_filter.html
vendored
Executable file
@ -0,0 +1,857 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - Individual column filtering</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
// Setup - add a text input to each footer cell
|
||||
$('#example tfoot th').each( function () {
|
||||
var title = $('#example thead th').eq( $(this).index() ).text();
|
||||
$(this).html( '<input type="text" placeholder="Search '+title+'" />' );
|
||||
} );
|
||||
|
||||
// DataTable
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
// Apply the filter
|
||||
table.columns().indexes().each( function (idx) {
|
||||
$( 'input', table.column( idx ).footer() ).on( 'keyup change', function () {
|
||||
table
|
||||
.column( idx )
|
||||
.search( this.value )
|
||||
.draw();
|
||||
} );
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>Individual column filtering</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>This example shows FixedColumns being configured with individual column filtering abilities. Note that the event handler for the filtering is applied to the
|
||||
<code class="tag" title="HTML tag">input</code> elements before FixedColumns is initialised, so when FixedColumns clones nodes it also copies the event.</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger</td>
|
||||
<td>Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett</td>
|
||||
<td>Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton</td>
|
||||
<td>Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric</td>
|
||||
<td>Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi</td>
|
||||
<td>Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle</td>
|
||||
<td>Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod</td>
|
||||
<td>Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona</td>
|
||||
<td>Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen</td>
|
||||
<td>Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya</td>
|
||||
<td>Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena</td>
|
||||
<td>Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn</td>
|
||||
<td>Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde</td>
|
||||
<td>Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley</td>
|
||||
<td>Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana</td>
|
||||
<td>Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul</td>
|
||||
<td>Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria</td>
|
||||
<td>Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley</td>
|
||||
<td>Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai</td>
|
||||
<td>Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette</td>
|
||||
<td>Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri</td>
|
||||
<td>Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar</td>
|
||||
<td>Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris</td>
|
||||
<td>Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica</td>
|
||||
<td>Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden</td>
|
||||
<td>Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona</td>
|
||||
<td>Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou</td>
|
||||
<td>Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle</td>
|
||||
<td>House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki</td>
|
||||
<td>Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott</td>
|
||||
<td>Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena</td>
|
||||
<td>Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity</td>
|
||||
<td>Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard</td>
|
||||
<td>Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope</td>
|
||||
<td>Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian</td>
|
||||
<td>Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy</td>
|
||||
<td>Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson</td>
|
||||
<td>Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia</td>
|
||||
<td>Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno</td>
|
||||
<td>Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura</td>
|
||||
<td>Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor</td>
|
||||
<td>Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn</td>
|
||||
<td>Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge</td>
|
||||
<td>Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida</td>
|
||||
<td>Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita</td>
|
||||
<td>Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara</td>
|
||||
<td>Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione</td>
|
||||
<td>Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael</td>
|
||||
<td>Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas</td>
|
||||
<td>Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad</td>
|
||||
<td>Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna</td>
|
||||
<td>Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
// Setup - add a text input to each footer cell
|
||||
$('#example tfoot th').each( function () {
|
||||
var title = $('#example thead th').eq( $(this).index() ).text();
|
||||
$(this).html( '<input type="text" placeholder="Search '+title+'" />' );
|
||||
} );
|
||||
|
||||
// DataTable
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
// Apply the filter
|
||||
table.columns().indexes().each( function (idx) {
|
||||
$( 'input', table.column( idx ).footer() ).on( 'keyup change', function () {
|
||||
table
|
||||
.column( idx )
|
||||
.search( this.value )
|
||||
.draw();
|
||||
} );
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li class="active"><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
833
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/colvis.html
vendored
Executable file
833
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/colvis.html
vendored
Executable file
@ -0,0 +1,833 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - ColVis integration</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../ColVis/css/dataTables.colVis.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
div.ColVis {
|
||||
float: left;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../ColVis/js/dataTables.colVis.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
dom: "Cfrtip",
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table, {
|
||||
leftColumns: 2
|
||||
} );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>ColVis integration</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>FixedColumns operates with DataTables' built-in column visibility options (<a href="//datatables.net/reference/option/columns.visible"><code class="option"
|
||||
title="DataTables initialisation option">columns.visible<span>DT</span></code></a> and <a href="//datatables.net/reference/api/column().visible()"><code class=
|
||||
"api" title="DataTables API method">column().visible()<span>DT</span></code></a>), which columns that are hidden not being shown in the fixed columns. This
|
||||
integration also means that FixedColumns works well with <a href="http://datatables.net/extensions/colvis">ColVis</a>, with columns that are dynamically shown and
|
||||
hidden updated immediately in the fixed columns.</p>
|
||||
|
||||
<p>The example below shows ColVis and FixedColumns working together. Two columns have been fixed on the left hand side of the table to show FixedColumns ability to
|
||||
work effortlessly with column visibility.</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger</td>
|
||||
<td>Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett</td>
|
||||
<td>Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton</td>
|
||||
<td>Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric</td>
|
||||
<td>Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi</td>
|
||||
<td>Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle</td>
|
||||
<td>Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod</td>
|
||||
<td>Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona</td>
|
||||
<td>Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen</td>
|
||||
<td>Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya</td>
|
||||
<td>Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena</td>
|
||||
<td>Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn</td>
|
||||
<td>Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde</td>
|
||||
<td>Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley</td>
|
||||
<td>Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana</td>
|
||||
<td>Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul</td>
|
||||
<td>Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria</td>
|
||||
<td>Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley</td>
|
||||
<td>Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai</td>
|
||||
<td>Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette</td>
|
||||
<td>Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri</td>
|
||||
<td>Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar</td>
|
||||
<td>Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris</td>
|
||||
<td>Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica</td>
|
||||
<td>Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden</td>
|
||||
<td>Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona</td>
|
||||
<td>Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou</td>
|
||||
<td>Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle</td>
|
||||
<td>House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki</td>
|
||||
<td>Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott</td>
|
||||
<td>Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena</td>
|
||||
<td>Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity</td>
|
||||
<td>Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard</td>
|
||||
<td>Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope</td>
|
||||
<td>Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian</td>
|
||||
<td>Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy</td>
|
||||
<td>Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson</td>
|
||||
<td>Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia</td>
|
||||
<td>Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno</td>
|
||||
<td>Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura</td>
|
||||
<td>Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor</td>
|
||||
<td>Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn</td>
|
||||
<td>Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge</td>
|
||||
<td>Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida</td>
|
||||
<td>Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita</td>
|
||||
<td>Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara</td>
|
||||
<td>Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione</td>
|
||||
<td>Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael</td>
|
||||
<td>Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas</td>
|
||||
<td>Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad</td>
|
||||
<td>Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna</td>
|
||||
<td>Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
dom: "Cfrtip",
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table, {
|
||||
leftColumns: 2
|
||||
} );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../../ColVis/js/dataTables.colVis.js">../../ColVis/js/dataTables.colVis.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
div.ColVis {
|
||||
float: left;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../../ColVis/css/dataTables.colVis.css">../../ColVis/css/dataTables.colVis.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li class="active"><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
828
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/css_size.html
vendored
Executable file
828
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/css_size.html
vendored
Executable file
@ -0,0 +1,828 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - CSS row sizing</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
tr { height: 50px; }
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table, {
|
||||
heightMatch: 'none'
|
||||
} );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>CSS row sizing</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>Because of the method FixedColumns uses to display the fixed columns, an important consideration is the alignment of the rows due to different heights in the
|
||||
individual rows of the table. There are two different algorithms in FixedColumns which can be used, or you can switch off automatic row sizing all together. This
|
||||
is controlled through the <code>heightMatch</code> parameter. If can take the following values:</p>
|
||||
|
||||
<ul class="markdown">
|
||||
<li><code class="string" title="String">none</code> - no automatic row height matching is performed. CSS can be used in this case and is useful when speed is
|
||||
of primary importance.</li>
|
||||
<li><code class="string" title="String">semiauto</code> (default) - the height calculation will be performed once, and the result cached to be used again
|
||||
(<code>fnRecalculateHeight</code> can be used to force recalculation)</li>
|
||||
<li><code class="string" title="String">auto</code> - height matching is performed on every draw (slowest but must accurate)</li>
|
||||
</ul>
|
||||
|
||||
<p>This example shows row height matching switched off but there is a CSS statement of <code>tr { height: 50px }</code> to force all rows to the same height.</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger</td>
|
||||
<td>Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett</td>
|
||||
<td>Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton</td>
|
||||
<td>Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric</td>
|
||||
<td>Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi</td>
|
||||
<td>Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle</td>
|
||||
<td>Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod</td>
|
||||
<td>Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona</td>
|
||||
<td>Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen</td>
|
||||
<td>Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya</td>
|
||||
<td>Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena</td>
|
||||
<td>Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn</td>
|
||||
<td>Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde</td>
|
||||
<td>Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley</td>
|
||||
<td>Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana</td>
|
||||
<td>Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul</td>
|
||||
<td>Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria</td>
|
||||
<td>Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley</td>
|
||||
<td>Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai</td>
|
||||
<td>Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette</td>
|
||||
<td>Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri</td>
|
||||
<td>Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar</td>
|
||||
<td>Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris</td>
|
||||
<td>Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica</td>
|
||||
<td>Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden</td>
|
||||
<td>Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona</td>
|
||||
<td>Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou</td>
|
||||
<td>Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle</td>
|
||||
<td>House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki</td>
|
||||
<td>Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott</td>
|
||||
<td>Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena</td>
|
||||
<td>Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity</td>
|
||||
<td>Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard</td>
|
||||
<td>Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope</td>
|
||||
<td>Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian</td>
|
||||
<td>Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy</td>
|
||||
<td>Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson</td>
|
||||
<td>Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia</td>
|
||||
<td>Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno</td>
|
||||
<td>Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura</td>
|
||||
<td>Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor</td>
|
||||
<td>Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn</td>
|
||||
<td>Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge</td>
|
||||
<td>Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida</td>
|
||||
<td>Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita</td>
|
||||
<td>Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara</td>
|
||||
<td>Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione</td>
|
||||
<td>Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael</td>
|
||||
<td>Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas</td>
|
||||
<td>Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad</td>
|
||||
<td>Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna</td>
|
||||
<td>Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table, {
|
||||
heightMatch: 'none'
|
||||
} );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
tr { height: 50px; }</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li class="active"><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
74
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/index.html
vendored
Executable file
74
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/index.html
vendored
Executable file
@ -0,0 +1,74 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
|
||||
<title>FixedColumns examples - FixedColumns examples</title>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>FixedColumns examples</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>When making use of DataTables' x-axis scrolling feature (<a href="//datatables.net/reference/option/scrollX"><code class="option" title=
|
||||
"DataTables initialisation option">scrollX<span>DT</span></code></a>), you may wish to fix the left or right most columns in place. This extension for DataTables
|
||||
provides exactly this option (for non-scrolling tables, please use the <a href="//datatables.net/extensions/fixedheader">FixedHeader extension</a>, which can fix
|
||||
headers, footers and columns). Key features include:</p>
|
||||
|
||||
<ul class="markdown">
|
||||
<li>Freezes the left most column to the side of the table</li>
|
||||
<li>Option to freeze two or more columns</li>
|
||||
<li>Full integration with DataTables' scrolling options</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
932
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/index_column.html
vendored
Executable file
932
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/index_column.html
vendored
Executable file
@ -0,0 +1,932 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - Index column</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Styling for the index columns */
|
||||
th.index,
|
||||
td.index {
|
||||
background-color: white !important;
|
||||
border-top: 1px solid white !important;
|
||||
border-bottom: none !important;
|
||||
}
|
||||
div.DTFC_LeftHeadWrapper table {
|
||||
border-bottom: 1px solid white !important;
|
||||
}
|
||||
div.DTFC_LeftHeadWrapper th {
|
||||
border-bottom: 1px solid white !important;
|
||||
}
|
||||
div.DTFC_LeftBodyWrapper {
|
||||
border-right: 1px solid black;
|
||||
}
|
||||
div.DTFC_LeftFootWrapper th {
|
||||
border-top: 1px solid white !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
columnDefs: [ {
|
||||
sortable: false,
|
||||
"class": "index",
|
||||
targets: 0
|
||||
} ],
|
||||
order: [[ 1, 'asc' ]]
|
||||
} );
|
||||
|
||||
table.on( 'order.dt search.dt', function () {
|
||||
table.column(0, {search:'applied', order:'applied'}).nodes().each( function (cell, i) {
|
||||
cell.innerHTML = i+1;
|
||||
} );
|
||||
} ).draw();
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>Index column</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>A typical interaction to want to perform with a fixed column, is an index column. A method for how this can be achieved with FixedColumns is shown in this
|
||||
example, building on the <a href="http://datatables.net/examples/api/counter_column">index column</a> example for DataTables. Also shown in this example is how the
|
||||
fixed column can be styled with CSS to show it more prominently.</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Tiger</td>
|
||||
<td>Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Garrett</td>
|
||||
<td>Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Ashton</td>
|
||||
<td>Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Cedric</td>
|
||||
<td>Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Airi</td>
|
||||
<td>Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Brielle</td>
|
||||
<td>Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Herrod</td>
|
||||
<td>Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Rhona</td>
|
||||
<td>Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Colleen</td>
|
||||
<td>Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Sonya</td>
|
||||
<td>Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Jena</td>
|
||||
<td>Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Quinn</td>
|
||||
<td>Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Charde</td>
|
||||
<td>Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Haley</td>
|
||||
<td>Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Tatyana</td>
|
||||
<td>Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Michael</td>
|
||||
<td>Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Paul</td>
|
||||
<td>Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Gloria</td>
|
||||
<td>Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Bradley</td>
|
||||
<td>Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Dai</td>
|
||||
<td>Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Jenette</td>
|
||||
<td>Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Yuri</td>
|
||||
<td>Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Caesar</td>
|
||||
<td>Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Doris</td>
|
||||
<td>Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Angelica</td>
|
||||
<td>Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Gavin</td>
|
||||
<td>Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Jennifer</td>
|
||||
<td>Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Brenden</td>
|
||||
<td>Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Fiona</td>
|
||||
<td>Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Shou</td>
|
||||
<td>Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Michelle</td>
|
||||
<td>House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Suki</td>
|
||||
<td>Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Prescott</td>
|
||||
<td>Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Gavin</td>
|
||||
<td>Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Martena</td>
|
||||
<td>Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Unity</td>
|
||||
<td>Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Howard</td>
|
||||
<td>Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Hope</td>
|
||||
<td>Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Vivian</td>
|
||||
<td>Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Timothy</td>
|
||||
<td>Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Jackson</td>
|
||||
<td>Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Olivia</td>
|
||||
<td>Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Bruno</td>
|
||||
<td>Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Sakura</td>
|
||||
<td>Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Thor</td>
|
||||
<td>Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Finn</td>
|
||||
<td>Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Serge</td>
|
||||
<td>Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Zenaida</td>
|
||||
<td>Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Zorita</td>
|
||||
<td>Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Jennifer</td>
|
||||
<td>Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Cara</td>
|
||||
<td>Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Hermione</td>
|
||||
<td>Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Lael</td>
|
||||
<td>Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Jonas</td>
|
||||
<td>Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Shad</td>
|
||||
<td>Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Michael</td>
|
||||
<td>Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Donna</td>
|
||||
<td>Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
columnDefs: [ {
|
||||
sortable: false,
|
||||
"class": "index",
|
||||
targets: 0
|
||||
} ],
|
||||
order: [[ 1, 'asc' ]]
|
||||
} );
|
||||
|
||||
table.on( 'order.dt search.dt', function () {
|
||||
table.column(0, {search:'applied', order:'applied'}).nodes().each( function (cell, i) {
|
||||
cell.innerHTML = i+1;
|
||||
} );
|
||||
} ).draw();
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Styling for the index columns */
|
||||
th.index,
|
||||
td.index {
|
||||
background-color: white !important;
|
||||
border-top: 1px solid white !important;
|
||||
border-bottom: none !important;
|
||||
}
|
||||
div.DTFC_LeftHeadWrapper table {
|
||||
border-bottom: 1px solid white !important;
|
||||
}
|
||||
div.DTFC_LeftHeadWrapper th {
|
||||
border-bottom: 1px solid white !important;
|
||||
}
|
||||
div.DTFC_LeftBodyWrapper {
|
||||
border-right: 1px solid black;
|
||||
}
|
||||
div.DTFC_LeftFootWrapper th {
|
||||
border-top: 1px solid white !important;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li class="active"><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
816
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/left_right_columns.html
vendored
Executable file
816
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/left_right_columns.html
vendored
Executable file
@ -0,0 +1,816 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - Left and right fixed columns</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table, {
|
||||
leftColumns: 1,
|
||||
rightColumns: 1
|
||||
} );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>Left and right fixed columns</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>FixedColumns allows columns to be fixed from both the left and right hand sides of the table. Fixing right hand-side columns is done by using the
|
||||
<code>rightColumns</code> initialisation parameter, which works just the same as <code>leftColumns</code> does for the left side of the table. This example shows
|
||||
both the left and right columns being fixed in place.</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger</td>
|
||||
<td>Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett</td>
|
||||
<td>Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton</td>
|
||||
<td>Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric</td>
|
||||
<td>Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi</td>
|
||||
<td>Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle</td>
|
||||
<td>Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod</td>
|
||||
<td>Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona</td>
|
||||
<td>Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen</td>
|
||||
<td>Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya</td>
|
||||
<td>Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena</td>
|
||||
<td>Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn</td>
|
||||
<td>Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde</td>
|
||||
<td>Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley</td>
|
||||
<td>Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana</td>
|
||||
<td>Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul</td>
|
||||
<td>Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria</td>
|
||||
<td>Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley</td>
|
||||
<td>Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai</td>
|
||||
<td>Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette</td>
|
||||
<td>Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri</td>
|
||||
<td>Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar</td>
|
||||
<td>Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris</td>
|
||||
<td>Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica</td>
|
||||
<td>Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden</td>
|
||||
<td>Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona</td>
|
||||
<td>Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou</td>
|
||||
<td>Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle</td>
|
||||
<td>House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki</td>
|
||||
<td>Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott</td>
|
||||
<td>Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena</td>
|
||||
<td>Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity</td>
|
||||
<td>Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard</td>
|
||||
<td>Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope</td>
|
||||
<td>Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian</td>
|
||||
<td>Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy</td>
|
||||
<td>Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson</td>
|
||||
<td>Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia</td>
|
||||
<td>Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno</td>
|
||||
<td>Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura</td>
|
||||
<td>Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor</td>
|
||||
<td>Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn</td>
|
||||
<td>Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge</td>
|
||||
<td>Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida</td>
|
||||
<td>Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita</td>
|
||||
<td>Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara</td>
|
||||
<td>Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione</td>
|
||||
<td>Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael</td>
|
||||
<td>Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas</td>
|
||||
<td>Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad</td>
|
||||
<td>Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna</td>
|
||||
<td>Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table, {
|
||||
leftColumns: 1,
|
||||
rightColumns: 1
|
||||
} );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li class="active"><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
816
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/right_column.html
vendored
Executable file
816
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/right_column.html
vendored
Executable file
@ -0,0 +1,816 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - Right column only</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table, {
|
||||
leftColumns: 0,
|
||||
rightColumns: 1
|
||||
} );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>Right column only</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>FixedColumns has the ability to freeze columns on both the left and right hand sides of the table. By default it will fix the first column on the left, but
|
||||
using the initialisation parameters <code>leftColumns</code> and <code>rightColumns</code> you can alter this to fix the columns on the right as well. This example
|
||||
shows a single column fixed in place, in this case the right most column.</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger</td>
|
||||
<td>Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett</td>
|
||||
<td>Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton</td>
|
||||
<td>Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric</td>
|
||||
<td>Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi</td>
|
||||
<td>Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle</td>
|
||||
<td>Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod</td>
|
||||
<td>Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona</td>
|
||||
<td>Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen</td>
|
||||
<td>Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya</td>
|
||||
<td>Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena</td>
|
||||
<td>Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn</td>
|
||||
<td>Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde</td>
|
||||
<td>Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley</td>
|
||||
<td>Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana</td>
|
||||
<td>Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul</td>
|
||||
<td>Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria</td>
|
||||
<td>Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley</td>
|
||||
<td>Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai</td>
|
||||
<td>Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette</td>
|
||||
<td>Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri</td>
|
||||
<td>Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar</td>
|
||||
<td>Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris</td>
|
||||
<td>Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica</td>
|
||||
<td>Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden</td>
|
||||
<td>Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona</td>
|
||||
<td>Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou</td>
|
||||
<td>Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle</td>
|
||||
<td>House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki</td>
|
||||
<td>Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott</td>
|
||||
<td>Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena</td>
|
||||
<td>Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity</td>
|
||||
<td>Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard</td>
|
||||
<td>Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope</td>
|
||||
<td>Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian</td>
|
||||
<td>Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy</td>
|
||||
<td>Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson</td>
|
||||
<td>Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia</td>
|
||||
<td>Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno</td>
|
||||
<td>Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura</td>
|
||||
<td>Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor</td>
|
||||
<td>Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn</td>
|
||||
<td>Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge</td>
|
||||
<td>Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida</td>
|
||||
<td>Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita</td>
|
||||
<td>Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara</td>
|
||||
<td>Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione</td>
|
||||
<td>Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael</td>
|
||||
<td>Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas</td>
|
||||
<td>Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad</td>
|
||||
<td>Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna</td>
|
||||
<td>Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
|
||||
new $.fn.dataTable.FixedColumns( table, {
|
||||
leftColumns: 0,
|
||||
rightColumns: 1
|
||||
} );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li class="active"><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
657
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/rowspan.html
vendored
Executable file
657
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/rowspan.html
vendored
Executable file
@ -0,0 +1,657 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - Complex headers</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td {
|
||||
white-space: nowrap;
|
||||
padding-left: 40px !important;
|
||||
padding-right: 40px !important;
|
||||
}
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>Complex headers</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>If you are using multiple rows in the table header, it can be useful to have a rowspanning cell on the column(s) you have fixed in place - equally at other
|
||||
times it can be useful to not and make use of the two or more cells per column. FixedColumns builds on the complex header support in DataTables to make this
|
||||
trivial to use in FixedColumns. Just initialise your FixedColumns instance as you normally would!</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th rowspan="2">Name</th>
|
||||
<th colspan="2">HR Information</th>
|
||||
<th colspan="3">Contact</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Position</th>
|
||||
<th>Salary</th>
|
||||
<th>Office</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Position</th>
|
||||
<th>Salary</th>
|
||||
<th>Office</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>$320,800</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>$170,750</td>
|
||||
<td>Tokyo</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>$86,000</td>
|
||||
<td>San Francisco</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>$433,060</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>$162,700</td>
|
||||
<td>Tokyo</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>$372,000</td>
|
||||
<td>New York</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>$137,500</td>
|
||||
<td>San Francisco</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>$327,900</td>
|
||||
<td>Tokyo</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>$205,500</td>
|
||||
<td>San Francisco</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>$103,600</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>$90,560</td>
|
||||
<td>London</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>$342,000</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>$470,600</td>
|
||||
<td>San Francisco</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>$313,500</td>
|
||||
<td>London</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>$385,750</td>
|
||||
<td>London</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>$198,500</td>
|
||||
<td>London</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>$725,000</td>
|
||||
<td>New York</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>$237,500</td>
|
||||
<td>New York</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>$132,000</td>
|
||||
<td>London</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>$217,500</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>$345,000</td>
|
||||
<td>New York</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>$675,000</td>
|
||||
<td>New York</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>$106,450</td>
|
||||
<td>New York</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>$85,600</td>
|
||||
<td>Sidney</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>London</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>$92,575</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>$357,650</td>
|
||||
<td>Singapore</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>$206,850</td>
|
||||
<td>San Francisco</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>$850,000</td>
|
||||
<td>San Francisco</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>$163,000</td>
|
||||
<td>Tokyo</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>$95,400</td>
|
||||
<td>Sidney</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>$114,500</td>
|
||||
<td>London</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>$145,000</td>
|
||||
<td>London</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>$235,500</td>
|
||||
<td>San Francisco</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>$324,050</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>$85,675</td>
|
||||
<td>San Francisco</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>$164,500</td>
|
||||
<td>San Francisco</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>$109,850</td>
|
||||
<td>San Francisco</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>$452,500</td>
|
||||
<td>San Francisco</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>$136,200</td>
|
||||
<td>London</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>$645,750</td>
|
||||
<td>New York</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>$234,500</td>
|
||||
<td>Singapore</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>$163,500</td>
|
||||
<td>London</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>$139,575</td>
|
||||
<td>Tokyo</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>$98,540</td>
|
||||
<td>New York</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>$87,500</td>
|
||||
<td>San Francisco</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>$138,575</td>
|
||||
<td>Singapore</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>$125,250</td>
|
||||
<td>New York</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>$115,000</td>
|
||||
<td>San Francisco</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>$75,650</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>$145,600</td>
|
||||
<td>New York</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>$356,250</td>
|
||||
<td>London</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>$103,500</td>
|
||||
<td>London</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>$86,500</td>
|
||||
<td>San Francisco</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>$183,000</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>$183,000</td>
|
||||
<td>Singapore</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>$112,000</td>
|
||||
<td>New York</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td {
|
||||
white-space: nowrap;
|
||||
padding-left: 40px !important;
|
||||
padding-right: 40px !important;
|
||||
}
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li class="active"><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
204
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/server-side-processing.html
vendored
Executable file
204
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/server-side-processing.html
vendored
Executable file
@ -0,0 +1,204 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - Server-side processing</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Lots of padding for the cells as SSP has limited data in the demo */
|
||||
th,
|
||||
td {
|
||||
padding-left: 40px !important;
|
||||
padding-right: 40px !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
ajax: "../../../examples/server_side/scripts/server_processing.php",
|
||||
serverSide: true
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>Server-side processing</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>This example shows how FixedColumns can be used with server-side processing in DataTables to cope with very large tables. No special considerations are
|
||||
required, just initialise FixedColumns as you normally would!</p>
|
||||
|
||||
<p>Note that the table width is constrained in this example to allow scrolling to occur as the server-side processing data set has a limited number of columns in
|
||||
this demo!</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Extn.</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Extn.</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
ajax: "../../../examples/server_side/scripts/server_processing.php",
|
||||
serverSide: true
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Lots of padding for the cells as SSP has limited data in the demo */
|
||||
th,
|
||||
td {
|
||||
padding-left: 40px !important;
|
||||
padding-right: 40px !important;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li class="active"><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
813
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/simple.html
vendored
Executable file
813
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/simple.html
vendored
Executable file
@ -0,0 +1,813 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - Basic initialisation</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>Basic initialisation</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>When displaying a table which scrolls along the x-axis, it can sometimes be useful to the end user for the left most column to be fixed in place, if it shows
|
||||
grouping, index or similar information. This is basically the same idea as 'freeze columns' in Excel. This can be achieved with the FixedColumns plug-in for
|
||||
DataTables, as shown below.</p>
|
||||
|
||||
<p>Note that FixedColumns is suitable only for use with the scrolling features in <a href="http://datatables.net">DataTables</a>. If you want to achieve a similar
|
||||
effect without scrolling enabled, please checkout <a href="http://datatables.net/plug-ins">FixedHeader</a>, also for DataTables.</p>
|
||||
|
||||
<p>FixedColumns is initialised using the constructor <code>new $.fn.dataTable.FixedColumns();</code> - shown below.</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger</td>
|
||||
<td>Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett</td>
|
||||
<td>Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton</td>
|
||||
<td>Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric</td>
|
||||
<td>Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi</td>
|
||||
<td>Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle</td>
|
||||
<td>Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod</td>
|
||||
<td>Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona</td>
|
||||
<td>Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen</td>
|
||||
<td>Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya</td>
|
||||
<td>Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena</td>
|
||||
<td>Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn</td>
|
||||
<td>Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde</td>
|
||||
<td>Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley</td>
|
||||
<td>Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana</td>
|
||||
<td>Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul</td>
|
||||
<td>Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria</td>
|
||||
<td>Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley</td>
|
||||
<td>Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai</td>
|
||||
<td>Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette</td>
|
||||
<td>Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri</td>
|
||||
<td>Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar</td>
|
||||
<td>Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris</td>
|
||||
<td>Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica</td>
|
||||
<td>Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden</td>
|
||||
<td>Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona</td>
|
||||
<td>Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou</td>
|
||||
<td>Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle</td>
|
||||
<td>House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki</td>
|
||||
<td>Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott</td>
|
||||
<td>Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena</td>
|
||||
<td>Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity</td>
|
||||
<td>Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard</td>
|
||||
<td>Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope</td>
|
||||
<td>Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian</td>
|
||||
<td>Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy</td>
|
||||
<td>Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson</td>
|
||||
<td>Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia</td>
|
||||
<td>Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno</td>
|
||||
<td>Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura</td>
|
||||
<td>Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor</td>
|
||||
<td>Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn</td>
|
||||
<td>Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge</td>
|
||||
<td>Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida</td>
|
||||
<td>Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita</td>
|
||||
<td>Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara</td>
|
||||
<td>Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione</td>
|
||||
<td>Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael</td>
|
||||
<td>Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas</td>
|
||||
<td>Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad</td>
|
||||
<td>Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna</td>
|
||||
<td>Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li class="active"><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
824
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/size_fixed.html
vendored
Executable file
824
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/size_fixed.html
vendored
Executable file
@ -0,0 +1,824 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - Assigned column width</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
div.container {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').removeAttr('width').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
columnDefs: [
|
||||
{ width: 200, targets: 0 }
|
||||
]
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>Assigned column width</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>The columns that are fixed in place by FixedColumns take their width from the parent DataTable. As such, the width of the column can be controlled using the
|
||||
<a href="//datatables.net/reference/option/columns.width"><code class="option" title="DataTables initialisation option">columns.width<span>DT</span></code></a>
|
||||
option.</p>
|
||||
|
||||
<p>This example shows the first column being set to <code>width: 200px</code> (note that this is not pixel perfect in a table, the browser will make some
|
||||
adjustments!), a width that is reflected in the fixed column. Resize the browser window horizontally and you will be able to see that the fixed column retains its
|
||||
width while the scrolling viewport and the table resize.</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger</td>
|
||||
<td>Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett</td>
|
||||
<td>Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton</td>
|
||||
<td>Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric</td>
|
||||
<td>Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi</td>
|
||||
<td>Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle</td>
|
||||
<td>Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod</td>
|
||||
<td>Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona</td>
|
||||
<td>Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen</td>
|
||||
<td>Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya</td>
|
||||
<td>Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena</td>
|
||||
<td>Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn</td>
|
||||
<td>Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde</td>
|
||||
<td>Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley</td>
|
||||
<td>Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana</td>
|
||||
<td>Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul</td>
|
||||
<td>Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria</td>
|
||||
<td>Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley</td>
|
||||
<td>Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai</td>
|
||||
<td>Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette</td>
|
||||
<td>Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri</td>
|
||||
<td>Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar</td>
|
||||
<td>Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris</td>
|
||||
<td>Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica</td>
|
||||
<td>Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden</td>
|
||||
<td>Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona</td>
|
||||
<td>Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou</td>
|
||||
<td>Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle</td>
|
||||
<td>House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki</td>
|
||||
<td>Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott</td>
|
||||
<td>Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena</td>
|
||||
<td>Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity</td>
|
||||
<td>Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard</td>
|
||||
<td>Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope</td>
|
||||
<td>Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian</td>
|
||||
<td>Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy</td>
|
||||
<td>Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson</td>
|
||||
<td>Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia</td>
|
||||
<td>Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno</td>
|
||||
<td>Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura</td>
|
||||
<td>Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor</td>
|
||||
<td>Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn</td>
|
||||
<td>Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge</td>
|
||||
<td>Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida</td>
|
||||
<td>Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita</td>
|
||||
<td>Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara</td>
|
||||
<td>Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione</td>
|
||||
<td>Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael</td>
|
||||
<td>Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas</td>
|
||||
<td>Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad</td>
|
||||
<td>Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna</td>
|
||||
<td>Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').removeAttr('width').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
columnDefs: [
|
||||
{ width: 200, targets: 0 }
|
||||
]
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
div.container {
|
||||
width: 80%;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li class="active"><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
824
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/size_fluid.html
vendored
Executable file
824
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/size_fluid.html
vendored
Executable file
@ -0,0 +1,824 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - Fluid column width</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
div.container {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
columnDefs: [
|
||||
{ width: '20%', targets: 0 }
|
||||
]
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>Fluid column width</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>The columns that are fixed in place by FixedColumns take their width from the parent DataTable. As such, the width of the column can be controlled using the
|
||||
<a href="//datatables.net/reference/option/columns.width"><code class="option" title="DataTables initialisation option">columns.width<span>DT</span></code></a>
|
||||
option.</p>
|
||||
|
||||
<p>This example shows the first column being set to <code>width: 20%</code> (note that this is not pixel perfect in a table, the browser will make some
|
||||
adjustments!), a width that is reflected in the fixed column. Resize the browser window horizontally and you will be able to see that the fixed column retains its
|
||||
proportional width (again with a small margin dictated by the browser) in the resizing table.</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger</td>
|
||||
<td>Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett</td>
|
||||
<td>Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton</td>
|
||||
<td>Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric</td>
|
||||
<td>Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi</td>
|
||||
<td>Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle</td>
|
||||
<td>Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod</td>
|
||||
<td>Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona</td>
|
||||
<td>Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen</td>
|
||||
<td>Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya</td>
|
||||
<td>Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena</td>
|
||||
<td>Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn</td>
|
||||
<td>Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde</td>
|
||||
<td>Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley</td>
|
||||
<td>Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana</td>
|
||||
<td>Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul</td>
|
||||
<td>Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria</td>
|
||||
<td>Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley</td>
|
||||
<td>Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai</td>
|
||||
<td>Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette</td>
|
||||
<td>Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri</td>
|
||||
<td>Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar</td>
|
||||
<td>Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris</td>
|
||||
<td>Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica</td>
|
||||
<td>Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden</td>
|
||||
<td>Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona</td>
|
||||
<td>Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou</td>
|
||||
<td>Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle</td>
|
||||
<td>House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki</td>
|
||||
<td>Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott</td>
|
||||
<td>Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena</td>
|
||||
<td>Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity</td>
|
||||
<td>Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard</td>
|
||||
<td>Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope</td>
|
||||
<td>Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian</td>
|
||||
<td>Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy</td>
|
||||
<td>Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson</td>
|
||||
<td>Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia</td>
|
||||
<td>Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno</td>
|
||||
<td>Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura</td>
|
||||
<td>Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor</td>
|
||||
<td>Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn</td>
|
||||
<td>Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge</td>
|
||||
<td>Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida</td>
|
||||
<td>Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita</td>
|
||||
<td>Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara</td>
|
||||
<td>Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione</td>
|
||||
<td>Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael</td>
|
||||
<td>Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas</td>
|
||||
<td>Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad</td>
|
||||
<td>Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna</td>
|
||||
<td>Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false,
|
||||
columnDefs: [
|
||||
{ width: '20%', targets: 0 }
|
||||
]
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
div.container {
|
||||
width: 80%;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li class="active"><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
810
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/two_columns.html
vendored
Executable file
810
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/examples/two_columns.html
vendored
Executable file
@ -0,0 +1,810 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
||||
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
||||
|
||||
<title>FixedColumns example - Multiple fixed columns</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/dataTables.fixedColumns.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
|
||||
<link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
|
||||
<style type="text/css" class="init">
|
||||
|
||||
/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../js/dataTables.fixedColumns.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
|
||||
<script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
|
||||
<script type="text/javascript" language="javascript" class="init">
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table, {
|
||||
leftColumns: 2
|
||||
} );
|
||||
} );
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="dt-example">
|
||||
<div class="container">
|
||||
<section>
|
||||
<h1>FixedColumns example <span>Multiple fixed columns</span></h1>
|
||||
|
||||
<div class="info">
|
||||
<p>FixedColumns allows more than one column to be frozen into place using the <code>leftColumns</code> parameter. The example below shows two columns fixed.</p>
|
||||
</div>
|
||||
|
||||
<table id="example" class="stripe row-border order-column" cellspacing="0" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>First name</th>
|
||||
<th>Last name</th>
|
||||
<th>Position</th>
|
||||
<th>Office</th>
|
||||
<th>Age</th>
|
||||
<th>Start date</th>
|
||||
<th>Salary</th>
|
||||
<th>Extn.</th>
|
||||
<th>E-mail</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Tiger</td>
|
||||
<td>Nixon</td>
|
||||
<td>System Architect</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>61</td>
|
||||
<td>2011/04/25</td>
|
||||
<td>$320,800</td>
|
||||
<td>5421</td>
|
||||
<td>t.nixon@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Garrett</td>
|
||||
<td>Winters</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>63</td>
|
||||
<td>2011/07/25</td>
|
||||
<td>$170,750</td>
|
||||
<td>8422</td>
|
||||
<td>g.winters@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ashton</td>
|
||||
<td>Cox</td>
|
||||
<td>Junior Technical Author</td>
|
||||
<td>San Francisco</td>
|
||||
<td>66</td>
|
||||
<td>2009/01/12</td>
|
||||
<td>$86,000</td>
|
||||
<td>1562</td>
|
||||
<td>a.cox@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cedric</td>
|
||||
<td>Kelly</td>
|
||||
<td>Senior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2012/03/29</td>
|
||||
<td>$433,060</td>
|
||||
<td>6224</td>
|
||||
<td>c.kelly@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Airi</td>
|
||||
<td>Satou</td>
|
||||
<td>Accountant</td>
|
||||
<td>Tokyo</td>
|
||||
<td>33</td>
|
||||
<td>2008/11/28</td>
|
||||
<td>$162,700</td>
|
||||
<td>5407</td>
|
||||
<td>a.satou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brielle</td>
|
||||
<td>Williamson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2012/12/02</td>
|
||||
<td>$372,000</td>
|
||||
<td>4804</td>
|
||||
<td>b.williamson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Herrod</td>
|
||||
<td>Chandler</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>San Francisco</td>
|
||||
<td>59</td>
|
||||
<td>2012/08/06</td>
|
||||
<td>$137,500</td>
|
||||
<td>9608</td>
|
||||
<td>h.chandler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Rhona</td>
|
||||
<td>Davidson</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Tokyo</td>
|
||||
<td>55</td>
|
||||
<td>2010/10/14</td>
|
||||
<td>$327,900</td>
|
||||
<td>6200</td>
|
||||
<td>r.davidson@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Colleen</td>
|
||||
<td>Hurst</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>39</td>
|
||||
<td>2009/09/15</td>
|
||||
<td>$205,500</td>
|
||||
<td>2360</td>
|
||||
<td>c.hurst@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sonya</td>
|
||||
<td>Frost</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>23</td>
|
||||
<td>2008/12/13</td>
|
||||
<td>$103,600</td>
|
||||
<td>1667</td>
|
||||
<td>s.frost@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jena</td>
|
||||
<td>Gaines</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>30</td>
|
||||
<td>2008/12/19</td>
|
||||
<td>$90,560</td>
|
||||
<td>3814</td>
|
||||
<td>j.gaines@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quinn</td>
|
||||
<td>Flynn</td>
|
||||
<td>Support Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>22</td>
|
||||
<td>2013/03/03</td>
|
||||
<td>$342,000</td>
|
||||
<td>9497</td>
|
||||
<td>q.flynn@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Charde</td>
|
||||
<td>Marshall</td>
|
||||
<td>Regional Director</td>
|
||||
<td>San Francisco</td>
|
||||
<td>36</td>
|
||||
<td>2008/10/16</td>
|
||||
<td>$470,600</td>
|
||||
<td>6741</td>
|
||||
<td>c.marshall@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Haley</td>
|
||||
<td>Kennedy</td>
|
||||
<td>Senior Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>43</td>
|
||||
<td>2012/12/18</td>
|
||||
<td>$313,500</td>
|
||||
<td>3597</td>
|
||||
<td>h.kennedy@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tatyana</td>
|
||||
<td>Fitzpatrick</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>19</td>
|
||||
<td>2010/03/17</td>
|
||||
<td>$385,750</td>
|
||||
<td>1965</td>
|
||||
<td>t.fitzpatrick@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Silva</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>London</td>
|
||||
<td>66</td>
|
||||
<td>2012/11/27</td>
|
||||
<td>$198,500</td>
|
||||
<td>1581</td>
|
||||
<td>m.silva@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paul</td>
|
||||
<td>Byrd</td>
|
||||
<td>Chief Financial Officer (CFO)</td>
|
||||
<td>New York</td>
|
||||
<td>64</td>
|
||||
<td>2010/06/09</td>
|
||||
<td>$725,000</td>
|
||||
<td>3059</td>
|
||||
<td>p.byrd@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gloria</td>
|
||||
<td>Little</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>New York</td>
|
||||
<td>59</td>
|
||||
<td>2009/04/10</td>
|
||||
<td>$237,500</td>
|
||||
<td>1721</td>
|
||||
<td>g.little@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bradley</td>
|
||||
<td>Greer</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>41</td>
|
||||
<td>2012/10/13</td>
|
||||
<td>$132,000</td>
|
||||
<td>2558</td>
|
||||
<td>b.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Dai</td>
|
||||
<td>Rios</td>
|
||||
<td>Personnel Lead</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>35</td>
|
||||
<td>2012/09/26</td>
|
||||
<td>$217,500</td>
|
||||
<td>2290</td>
|
||||
<td>d.rios@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jenette</td>
|
||||
<td>Caldwell</td>
|
||||
<td>Development Lead</td>
|
||||
<td>New York</td>
|
||||
<td>30</td>
|
||||
<td>2011/09/03</td>
|
||||
<td>$345,000</td>
|
||||
<td>1937</td>
|
||||
<td>j.caldwell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Yuri</td>
|
||||
<td>Berry</td>
|
||||
<td>Chief Marketing Officer (CMO)</td>
|
||||
<td>New York</td>
|
||||
<td>40</td>
|
||||
<td>2009/06/25</td>
|
||||
<td>$675,000</td>
|
||||
<td>6154</td>
|
||||
<td>y.berry@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Caesar</td>
|
||||
<td>Vance</td>
|
||||
<td>Pre-Sales Support</td>
|
||||
<td>New York</td>
|
||||
<td>21</td>
|
||||
<td>2011/12/12</td>
|
||||
<td>$106,450</td>
|
||||
<td>8330</td>
|
||||
<td>c.vance@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Doris</td>
|
||||
<td>Wilder</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>Sidney</td>
|
||||
<td>23</td>
|
||||
<td>2010/09/20</td>
|
||||
<td>$85,600</td>
|
||||
<td>3023</td>
|
||||
<td>d.wilder@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Angelica</td>
|
||||
<td>Ramos</td>
|
||||
<td>Chief Executive Officer (CEO)</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2009/10/09</td>
|
||||
<td>$1,200,000</td>
|
||||
<td>5797</td>
|
||||
<td>a.ramos@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Joyce</td>
|
||||
<td>Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>42</td>
|
||||
<td>2010/12/22</td>
|
||||
<td>$92,575</td>
|
||||
<td>8822</td>
|
||||
<td>g.joyce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Chang</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Singapore</td>
|
||||
<td>28</td>
|
||||
<td>2010/11/14</td>
|
||||
<td>$357,650</td>
|
||||
<td>9239</td>
|
||||
<td>j.chang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Brenden</td>
|
||||
<td>Wagner</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>28</td>
|
||||
<td>2011/06/07</td>
|
||||
<td>$206,850</td>
|
||||
<td>1314</td>
|
||||
<td>b.wagner@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fiona</td>
|
||||
<td>Green</td>
|
||||
<td>Chief Operating Officer (COO)</td>
|
||||
<td>San Francisco</td>
|
||||
<td>48</td>
|
||||
<td>2010/03/11</td>
|
||||
<td>$850,000</td>
|
||||
<td>2947</td>
|
||||
<td>f.green@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shou</td>
|
||||
<td>Itou</td>
|
||||
<td>Regional Marketing</td>
|
||||
<td>Tokyo</td>
|
||||
<td>20</td>
|
||||
<td>2011/08/14</td>
|
||||
<td>$163,000</td>
|
||||
<td>8899</td>
|
||||
<td>s.itou@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michelle</td>
|
||||
<td>House</td>
|
||||
<td>Integration Specialist</td>
|
||||
<td>Sidney</td>
|
||||
<td>37</td>
|
||||
<td>2011/06/02</td>
|
||||
<td>$95,400</td>
|
||||
<td>2769</td>
|
||||
<td>m.house@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Suki</td>
|
||||
<td>Burks</td>
|
||||
<td>Developer</td>
|
||||
<td>London</td>
|
||||
<td>53</td>
|
||||
<td>2009/10/22</td>
|
||||
<td>$114,500</td>
|
||||
<td>6832</td>
|
||||
<td>s.burks@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Prescott</td>
|
||||
<td>Bartlett</td>
|
||||
<td>Technical Author</td>
|
||||
<td>London</td>
|
||||
<td>27</td>
|
||||
<td>2011/05/07</td>
|
||||
<td>$145,000</td>
|
||||
<td>3606</td>
|
||||
<td>p.bartlett@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gavin</td>
|
||||
<td>Cortez</td>
|
||||
<td>Team Leader</td>
|
||||
<td>San Francisco</td>
|
||||
<td>22</td>
|
||||
<td>2008/10/26</td>
|
||||
<td>$235,500</td>
|
||||
<td>2860</td>
|
||||
<td>g.cortez@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Martena</td>
|
||||
<td>Mccray</td>
|
||||
<td>Post-Sales support</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>46</td>
|
||||
<td>2011/03/09</td>
|
||||
<td>$324,050</td>
|
||||
<td>8240</td>
|
||||
<td>m.mccray@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Unity</td>
|
||||
<td>Butler</td>
|
||||
<td>Marketing Designer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/12/09</td>
|
||||
<td>$85,675</td>
|
||||
<td>5384</td>
|
||||
<td>u.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Howard</td>
|
||||
<td>Hatfield</td>
|
||||
<td>Office Manager</td>
|
||||
<td>San Francisco</td>
|
||||
<td>51</td>
|
||||
<td>2008/12/16</td>
|
||||
<td>$164,500</td>
|
||||
<td>7031</td>
|
||||
<td>h.hatfield@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hope</td>
|
||||
<td>Fuentes</td>
|
||||
<td>Secretary</td>
|
||||
<td>San Francisco</td>
|
||||
<td>41</td>
|
||||
<td>2010/02/12</td>
|
||||
<td>$109,850</td>
|
||||
<td>6318</td>
|
||||
<td>h.fuentes@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Vivian</td>
|
||||
<td>Harrell</td>
|
||||
<td>Financial Controller</td>
|
||||
<td>San Francisco</td>
|
||||
<td>62</td>
|
||||
<td>2009/02/14</td>
|
||||
<td>$452,500</td>
|
||||
<td>9422</td>
|
||||
<td>v.harrell@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Timothy</td>
|
||||
<td>Mooney</td>
|
||||
<td>Office Manager</td>
|
||||
<td>London</td>
|
||||
<td>37</td>
|
||||
<td>2008/12/11</td>
|
||||
<td>$136,200</td>
|
||||
<td>7580</td>
|
||||
<td>t.mooney@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jackson</td>
|
||||
<td>Bradshaw</td>
|
||||
<td>Director</td>
|
||||
<td>New York</td>
|
||||
<td>65</td>
|
||||
<td>2008/09/26</td>
|
||||
<td>$645,750</td>
|
||||
<td>1042</td>
|
||||
<td>j.bradshaw@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Olivia</td>
|
||||
<td>Liang</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2011/02/03</td>
|
||||
<td>$234,500</td>
|
||||
<td>2120</td>
|
||||
<td>o.liang@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Bruno</td>
|
||||
<td>Nash</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>London</td>
|
||||
<td>38</td>
|
||||
<td>2011/05/03</td>
|
||||
<td>$163,500</td>
|
||||
<td>6222</td>
|
||||
<td>b.nash@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sakura</td>
|
||||
<td>Yamamoto</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>Tokyo</td>
|
||||
<td>37</td>
|
||||
<td>2009/08/19</td>
|
||||
<td>$139,575</td>
|
||||
<td>9383</td>
|
||||
<td>s.yamamoto@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Thor</td>
|
||||
<td>Walton</td>
|
||||
<td>Developer</td>
|
||||
<td>New York</td>
|
||||
<td>61</td>
|
||||
<td>2013/08/11</td>
|
||||
<td>$98,540</td>
|
||||
<td>8327</td>
|
||||
<td>t.walton@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Finn</td>
|
||||
<td>Camacho</td>
|
||||
<td>Support Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>47</td>
|
||||
<td>2009/07/07</td>
|
||||
<td>$87,500</td>
|
||||
<td>2927</td>
|
||||
<td>f.camacho@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Serge</td>
|
||||
<td>Baldwin</td>
|
||||
<td>Data Coordinator</td>
|
||||
<td>Singapore</td>
|
||||
<td>64</td>
|
||||
<td>2012/04/09</td>
|
||||
<td>$138,575</td>
|
||||
<td>8352</td>
|
||||
<td>s.baldwin@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zenaida</td>
|
||||
<td>Frank</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>New York</td>
|
||||
<td>63</td>
|
||||
<td>2010/01/04</td>
|
||||
<td>$125,250</td>
|
||||
<td>7439</td>
|
||||
<td>z.frank@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Zorita</td>
|
||||
<td>Serrano</td>
|
||||
<td>Software Engineer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>56</td>
|
||||
<td>2012/06/01</td>
|
||||
<td>$115,000</td>
|
||||
<td>4389</td>
|
||||
<td>z.serrano@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jennifer</td>
|
||||
<td>Acosta</td>
|
||||
<td>Junior Javascript Developer</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>43</td>
|
||||
<td>2013/02/01</td>
|
||||
<td>$75,650</td>
|
||||
<td>3431</td>
|
||||
<td>j.acosta@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Cara</td>
|
||||
<td>Stevens</td>
|
||||
<td>Sales Assistant</td>
|
||||
<td>New York</td>
|
||||
<td>46</td>
|
||||
<td>2011/12/06</td>
|
||||
<td>$145,600</td>
|
||||
<td>3990</td>
|
||||
<td>c.stevens@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Hermione</td>
|
||||
<td>Butler</td>
|
||||
<td>Regional Director</td>
|
||||
<td>London</td>
|
||||
<td>47</td>
|
||||
<td>2011/03/21</td>
|
||||
<td>$356,250</td>
|
||||
<td>1016</td>
|
||||
<td>h.butler@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Lael</td>
|
||||
<td>Greer</td>
|
||||
<td>Systems Administrator</td>
|
||||
<td>London</td>
|
||||
<td>21</td>
|
||||
<td>2009/02/27</td>
|
||||
<td>$103,500</td>
|
||||
<td>6733</td>
|
||||
<td>l.greer@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jonas</td>
|
||||
<td>Alexander</td>
|
||||
<td>Developer</td>
|
||||
<td>San Francisco</td>
|
||||
<td>30</td>
|
||||
<td>2010/07/14</td>
|
||||
<td>$86,500</td>
|
||||
<td>8196</td>
|
||||
<td>j.alexander@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Shad</td>
|
||||
<td>Decker</td>
|
||||
<td>Regional Director</td>
|
||||
<td>Edinburgh</td>
|
||||
<td>51</td>
|
||||
<td>2008/11/13</td>
|
||||
<td>$183,000</td>
|
||||
<td>6373</td>
|
||||
<td>s.decker@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Michael</td>
|
||||
<td>Bruce</td>
|
||||
<td>Javascript Developer</td>
|
||||
<td>Singapore</td>
|
||||
<td>29</td>
|
||||
<td>2011/06/27</td>
|
||||
<td>$183,000</td>
|
||||
<td>5384</td>
|
||||
<td>m.bruce@datatables.net</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Donna</td>
|
||||
<td>Snider</td>
|
||||
<td>Customer Support</td>
|
||||
<td>New York</td>
|
||||
<td>27</td>
|
||||
<td>2011/01/25</td>
|
||||
<td>$112,000</td>
|
||||
<td>4226</td>
|
||||
<td>d.snider@datatables.net</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<ul class="tabs">
|
||||
<li class="active">Javascript</li>
|
||||
<li>HTML</li>
|
||||
<li>CSS</li>
|
||||
<li>Ajax</li>
|
||||
<li>Server-side script</li>
|
||||
</ul>
|
||||
|
||||
<div class="tabs">
|
||||
<div class="js">
|
||||
<p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
|
||||
var table = $('#example').DataTable( {
|
||||
scrollY: "300px",
|
||||
scrollX: true,
|
||||
scrollCollapse: true,
|
||||
paging: false
|
||||
} );
|
||||
new $.fn.dataTable.FixedColumns( table, {
|
||||
leftColumns: 2
|
||||
} );
|
||||
} );</code>
|
||||
|
||||
<p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
|
||||
<li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
|
||||
<li><a href="../js/dataTables.fixedColumns.js">../js/dataTables.fixedColumns.js</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="table">
|
||||
<p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
|
||||
</div>
|
||||
|
||||
<div class="css">
|
||||
<div>
|
||||
<p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
|
||||
additional CSS used is shown below:</p><code class="multiline language-css">/* Ensure that the demo table scrolls */
|
||||
th, td { white-space: nowrap; }
|
||||
div.dataTables_wrapper {
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}</code>
|
||||
</div>
|
||||
|
||||
<p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
|
||||
<li><a href="../css/dataTables.fixedColumns.css">../css/dataTables.fixedColumns.css</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="ajax">
|
||||
<p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
|
||||
loaded.</p>
|
||||
</div>
|
||||
|
||||
<div class="php">
|
||||
<p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
|
||||
processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
|
||||
documentation</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<div class="footer">
|
||||
<div class="gradient"></div>
|
||||
|
||||
<div class="liner">
|
||||
<h2>Other examples</h2>
|
||||
|
||||
<div class="toc">
|
||||
<div class="toc-group">
|
||||
<h3><a href="./index.html">Examples</a></h3>
|
||||
<ul class="toc active">
|
||||
<li><a href="./left_right_columns.html">Left and right fixed columns</a></li>
|
||||
<li><a href="./simple.html">Basic initialisation</a></li>
|
||||
<li class="active"><a href="./two_columns.html">Multiple fixed columns</a></li>
|
||||
<li><a href="./right_column.html">Right column only</a></li>
|
||||
<li><a href="./rowspan.html">Complex headers</a></li>
|
||||
<li><a href="./colvis.html">ColVis integration</a></li>
|
||||
<li><a href="./server-side-processing.html">Server-side processing</a></li>
|
||||
<li><a href="./css_size.html">CSS row sizing</a></li>
|
||||
<li><a href="./size_fixed.html">Assigned column width</a></li>
|
||||
<li><a href="./size_fluid.html">Fluid column width</a></li>
|
||||
<li><a href="./col_filter.html">Individual column filtering</a></li>
|
||||
<li><a href="./bootstrap.html">Bootstrap</a></li>
|
||||
<li><a href="./index_column.html">Index column</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="epilogue">
|
||||
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
||||
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.</p>
|
||||
|
||||
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2015<br>
|
||||
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
1423
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/js/dataTables.fixedColumns.js
vendored
Executable file
1423
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/js/dataTables.fixedColumns.js
vendored
Executable file
File diff suppressed because it is too large
Load Diff
30
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/js/dataTables.fixedColumns.min.js
vendored
Executable file
30
assets/3rdparty/adminLTE/plugins/datatables/extensions/FixedColumns/js/dataTables.fixedColumns.min.js
vendored
Executable file
@ -0,0 +1,30 @@
|
||||
/*!
|
||||
FixedColumns 3.0.4
|
||||
©2010-2014 SpryMedia Ltd - datatables.net/license
|
||||
*/
|
||||
(function(r,s,t){var p=function(d){var j=function(a,b){var c=this;if(this instanceof j){"undefined"==typeof b&&(b={});var g=d.fn.dataTable.camelToHungarian;g&&(g(j.defaults,j.defaults,!0),g(j.defaults,b));g=d.fn.dataTable.Api?(new d.fn.dataTable.Api(a)).settings()[0]:a.fnSettings();this.s={dt:g,iTableColumns:g.aoColumns.length,aiOuterWidths:[],aiInnerWidths:[]};this.dom={scroller:null,header:null,body:null,footer:null,grid:{wrapper:null,dt:null,left:{wrapper:null,head:null,body:null,foot:null},right:{wrapper:null,
|
||||
head:null,body:null,foot:null}},clone:{left:{header:null,body:null,footer:null},right:{header:null,body:null,footer:null}}};g._oFixedColumns=this;g._bInitComplete?this._fnConstruct(b):g.oApi._fnCallbackReg(g,"aoInitComplete",function(){c._fnConstruct(b)},"FixedColumns")}else alert("FixedColumns warning: FixedColumns must be initialised with the 'new' keyword.")};j.prototype={fnUpdate:function(){this._fnDraw(!0)},fnRedrawLayout:function(){this._fnColCalc();this._fnGridLayout();this.fnUpdate()},fnRecalculateHeight:function(a){delete a._DTTC_iHeight;
|
||||
a.style.height="auto"},fnSetRowHeight:function(a,b){a.style.height=b+"px"},fnGetPosition:function(a){var b=this.s.dt.oInstance;if(d(a).parents(".DTFC_Cloned").length){if("tr"===a.nodeName.toLowerCase())return a=d(a).index(),b.fnGetPosition(d("tr",this.s.dt.nTBody)[a]);var c=d(a).index(),a=d(a.parentNode).index();return[b.fnGetPosition(d("tr",this.s.dt.nTBody)[a]),c,b.oApi._fnVisibleToColumnIndex(this.s.dt,c)]}return b.fnGetPosition(a)},_fnConstruct:function(a){var b=this;if("function"!=typeof this.s.dt.oInstance.fnVersionCheck||
|
||||
!0!==this.s.dt.oInstance.fnVersionCheck("1.8.0"))alert("FixedColumns "+j.VERSION+" required DataTables 1.8.0 or later. Please upgrade your DataTables installation");else if(""===this.s.dt.oScroll.sX)this.s.dt.oInstance.oApi._fnLog(this.s.dt,1,"FixedColumns is not needed (no x-scrolling in DataTables enabled), so no action will be taken. Use 'FixedHeader' for column fixing when scrolling is not enabled");else{this.s=d.extend(!0,this.s,j.defaults,a);a=this.s.dt.oClasses;this.dom.grid.dt=d(this.s.dt.nTable).parents("div."+
|
||||
a.sScrollWrapper)[0];this.dom.scroller=d("div."+a.sScrollBody,this.dom.grid.dt)[0];this._fnColCalc();this._fnGridSetup();var c;d(this.dom.scroller).on("mouseover.DTFC touchstart.DTFC",function(){c="main"}).on("scroll.DTFC",function(){if("main"===c&&(0<b.s.iLeftColumns&&(b.dom.grid.left.liner.scrollTop=b.dom.scroller.scrollTop),0<b.s.iRightColumns))b.dom.grid.right.liner.scrollTop=b.dom.scroller.scrollTop});var g="onwheel"in s.createElement("div")?"wheel.DTFC":"mousewheel.DTFC";if(0<b.s.iLeftColumns)d(b.dom.grid.left.liner).on("mouseover.DTFC touchstart.DTFC",
|
||||
function(){c="left"}).on("scroll.DTFC",function(){"left"===c&&(b.dom.scroller.scrollTop=b.dom.grid.left.liner.scrollTop,0<b.s.iRightColumns&&(b.dom.grid.right.liner.scrollTop=b.dom.grid.left.liner.scrollTop))}).on(g,function(a){b.dom.scroller.scrollLeft-="wheel"===a.type?-a.originalEvent.deltaX:a.originalEvent.wheelDeltaX});if(0<b.s.iRightColumns)d(b.dom.grid.right.liner).on("mouseover.DTFC touchstart.DTFC",function(){c="right"}).on("scroll.DTFC",function(){"right"===c&&(b.dom.scroller.scrollTop=
|
||||
b.dom.grid.right.liner.scrollTop,0<b.s.iLeftColumns&&(b.dom.grid.left.liner.scrollTop=b.dom.grid.right.liner.scrollTop))}).on(g,function(a){b.dom.scroller.scrollLeft-="wheel"===a.type?-a.originalEvent.deltaX:a.originalEvent.wheelDeltaX});d(r).on("resize.DTFC",function(){b._fnGridLayout.call(b)});var f=!0,e=d(this.s.dt.nTable);e.on("draw.dt.DTFC",function(){b._fnDraw.call(b,f);f=!1}).on("column-sizing.dt.DTFC",function(){b._fnColCalc();b._fnGridLayout(b)}).on("column-visibility.dt.DTFC",function(){b._fnColCalc();
|
||||
b._fnGridLayout(b);b._fnDraw(!0)}).on("destroy.dt.DTFC",function(){e.off("column-sizing.dt.DTFC destroy.dt.DTFC draw.dt.DTFC");d(b.dom.scroller).off("scroll.DTFC mouseover.DTFC");d(r).off("resize.DTFC");d(b.dom.grid.left.liner).off("scroll.DTFC mouseover.DTFC "+g);d(b.dom.grid.left.wrapper).remove();d(b.dom.grid.right.liner).off("scroll.DTFC mouseover.DTFC "+g);d(b.dom.grid.right.wrapper).remove()});this._fnGridLayout();this.s.dt.oInstance.fnDraw(!1)}},_fnColCalc:function(){var a=this,b=0,c=0;this.s.aiInnerWidths=
|
||||
[];this.s.aiOuterWidths=[];d.each(this.s.dt.aoColumns,function(g,f){var e=d(f.nTh),h;if(e.filter(":visible").length){var i=e.outerWidth();0===a.s.aiOuterWidths.length&&(h=d(a.s.dt.nTable).css("border-left-width"),i+="string"===typeof h?1:parseInt(h,10));a.s.aiOuterWidths.length===a.s.dt.aoColumns.length-1&&(h=d(a.s.dt.nTable).css("border-right-width"),i+="string"===typeof h?1:parseInt(h,10));a.s.aiOuterWidths.push(i);a.s.aiInnerWidths.push(e.width());g<a.s.iLeftColumns&&(b+=i);a.s.iTableColumns-a.s.iRightColumns<=
|
||||
g&&(c+=i)}else a.s.aiInnerWidths.push(0),a.s.aiOuterWidths.push(0)});this.s.iLeftWidth=b;this.s.iRightWidth=c},_fnGridSetup:function(){var a=this._fnDTOverflow(),b;this.dom.body=this.s.dt.nTable;this.dom.header=this.s.dt.nTHead.parentNode;this.dom.header.parentNode.parentNode.style.position="relative";var c=d('<div class="DTFC_ScrollWrapper" style="position:relative; clear:both;"><div class="DTFC_LeftWrapper" style="position:absolute; top:0; left:0;"><div class="DTFC_LeftHeadWrapper" style="position:relative; top:0; left:0; overflow:hidden;"></div><div class="DTFC_LeftBodyWrapper" style="position:relative; top:0; left:0; overflow:hidden;"><div class="DTFC_LeftBodyLiner" style="position:relative; top:0; left:0; overflow-y:scroll;"></div></div><div class="DTFC_LeftFootWrapper" style="position:relative; top:0; left:0; overflow:hidden;"></div></div><div class="DTFC_RightWrapper" style="position:absolute; top:0; left:0;"><div class="DTFC_RightHeadWrapper" style="position:relative; top:0; left:0;"><div class="DTFC_RightHeadBlocker DTFC_Blocker" style="position:absolute; top:0; bottom:0;"></div></div><div class="DTFC_RightBodyWrapper" style="position:relative; top:0; left:0; overflow:hidden;"><div class="DTFC_RightBodyLiner" style="position:relative; top:0; left:0; overflow-y:scroll;"></div></div><div class="DTFC_RightFootWrapper" style="position:relative; top:0; left:0;"><div class="DTFC_RightFootBlocker DTFC_Blocker" style="position:absolute; top:0; bottom:0;"></div></div></div></div>')[0],
|
||||
g=c.childNodes[0],f=c.childNodes[1];this.dom.grid.dt.parentNode.insertBefore(c,this.dom.grid.dt);c.appendChild(this.dom.grid.dt);this.dom.grid.wrapper=c;0<this.s.iLeftColumns&&(this.dom.grid.left.wrapper=g,this.dom.grid.left.head=g.childNodes[0],this.dom.grid.left.body=g.childNodes[1],this.dom.grid.left.liner=d("div.DTFC_LeftBodyLiner",c)[0],c.appendChild(g));0<this.s.iRightColumns&&(this.dom.grid.right.wrapper=f,this.dom.grid.right.head=f.childNodes[0],this.dom.grid.right.body=f.childNodes[1],this.dom.grid.right.liner=
|
||||
d("div.DTFC_RightBodyLiner",c)[0],b=d("div.DTFC_RightHeadBlocker",c)[0],b.style.width=a.bar+"px",b.style.right=-a.bar+"px",this.dom.grid.right.headBlock=b,b=d("div.DTFC_RightFootBlocker",c)[0],b.style.width=a.bar+"px",b.style.right=-a.bar+"px",this.dom.grid.right.footBlock=b,c.appendChild(f));if(this.s.dt.nTFoot&&(this.dom.footer=this.s.dt.nTFoot.parentNode,0<this.s.iLeftColumns&&(this.dom.grid.left.foot=g.childNodes[2]),0<this.s.iRightColumns))this.dom.grid.right.foot=f.childNodes[2]},_fnGridLayout:function(){var a=
|
||||
this.dom.grid,b=d(a.wrapper).width(),c=d(this.s.dt.nTable.parentNode).outerHeight(),g=d(this.s.dt.nTable.parentNode.parentNode).outerHeight(),f=this._fnDTOverflow(),e=this.s.iLeftWidth,h=this.s.iRightWidth,i=function(a,b){f.bar?a.style.width=b+f.bar+"px":(a.style.width=b+20+"px",a.style.paddingRight="20px",a.style.boxSizing="border-box")};f.x&&(c-=f.bar);a.wrapper.style.height=g+"px";0<this.s.iLeftColumns&&(a.left.wrapper.style.width=e+"px",a.left.wrapper.style.height="1px",a.left.body.style.height=
|
||||
c+"px",a.left.foot&&(a.left.foot.style.top=(f.x?f.bar:0)+"px"),i(a.left.liner,e),a.left.liner.style.height=c+"px");0<this.s.iRightColumns&&(b-=h,f.y&&(b-=f.bar),a.right.wrapper.style.width=h+"px",a.right.wrapper.style.left=b+"px",a.right.wrapper.style.height="1px",a.right.body.style.height=c+"px",a.right.foot&&(a.right.foot.style.top=(f.x?f.bar:0)+"px"),i(a.right.liner,h),a.right.liner.style.height=c+"px",a.right.headBlock.style.display=f.y?"block":"none",a.right.footBlock.style.display=f.y?"block":
|
||||
"none")},_fnDTOverflow:function(){var a=this.s.dt.nTable,b=a.parentNode,c={x:!1,y:!1,bar:this.s.dt.oScroll.iBarWidth};a.offsetWidth>b.clientWidth&&(c.x=!0);a.offsetHeight>b.clientHeight&&(c.y=!0);return c},_fnDraw:function(a){this._fnGridLayout();this._fnCloneLeft(a);this._fnCloneRight(a);null!==this.s.fnDrawCallback&&this.s.fnDrawCallback.call(this,this.dom.clone.left,this.dom.clone.right);d(this).trigger("draw.dtfc",{leftClone:this.dom.clone.left,rightClone:this.dom.clone.right})},_fnCloneRight:function(a){if(!(0>=
|
||||
this.s.iRightColumns)){var b,c=[];for(b=this.s.iTableColumns-this.s.iRightColumns;b<this.s.iTableColumns;b++)this.s.dt.aoColumns[b].bVisible&&c.push(b);this._fnClone(this.dom.clone.right,this.dom.grid.right,c,a)}},_fnCloneLeft:function(a){if(!(0>=this.s.iLeftColumns)){var b,c=[];for(b=0;b<this.s.iLeftColumns;b++)this.s.dt.aoColumns[b].bVisible&&c.push(b);this._fnClone(this.dom.clone.left,this.dom.grid.left,c,a)}},_fnCopyLayout:function(a,b){for(var c=[],g=[],f=[],e=0,h=a.length;e<h;e++){var i=[];
|
||||
i.nTr=d(a[e].nTr).clone(!0,!0)[0];for(var k=0,j=this.s.iTableColumns;k<j;k++)if(-1!==d.inArray(k,b)){var m=d.inArray(a[e][k].cell,f);-1===m?(m=d(a[e][k].cell).clone(!0,!0)[0],g.push(m),f.push(a[e][k].cell),i.push({cell:m,unique:a[e][k].unique})):i.push({cell:g[m],unique:a[e][k].unique})}c.push(i)}return c},_fnClone:function(a,b,c,g){var f=this,e,h,i,k,j,m,o,n,q,l=this.s.dt;if(g){null!==a.header&&a.header.parentNode.removeChild(a.header);a.header=d(this.dom.header).clone(!0,!0)[0];a.header.className+=
|
||||
" DTFC_Cloned";a.header.style.width="100%";b.head.appendChild(a.header);n=this._fnCopyLayout(l.aoHeader,c);k=d(">thead",a.header);k.empty();e=0;for(h=n.length;e<h;e++)k[0].appendChild(n[e].nTr);l.oApi._fnDrawHead(l,n,!0)}else{n=this._fnCopyLayout(l.aoHeader,c);q=[];l.oApi._fnDetectHeader(q,d(">thead",a.header)[0]);e=0;for(h=n.length;e<h;e++){i=0;for(k=n[e].length;i<k;i++)q[e][i].cell.className=n[e][i].cell.className,d("span.DataTables_sort_icon",q[e][i].cell).each(function(){this.className=d("span.DataTables_sort_icon",
|
||||
n[e][i].cell)[0].className})}}this._fnEqualiseHeights("thead",this.dom.header,a.header);"auto"==this.s.sHeightMatch&&d(">tbody>tr",f.dom.body).css("height","auto");null!==a.body&&(a.body.parentNode.removeChild(a.body),a.body=null);a.body=d(this.dom.body).clone(!0)[0];a.body.className+=" DTFC_Cloned";a.body.style.paddingBottom=l.oScroll.iBarWidth+"px";a.body.style.marginBottom=2*l.oScroll.iBarWidth+"px";null!==a.body.getAttribute("id")&&a.body.removeAttribute("id");d(">thead>tr",a.body).empty();d(">tfoot",
|
||||
a.body).remove();var p=d("tbody",a.body)[0];d(p).empty();if(0<l.aiDisplay.length){h=d(">thead>tr",a.body)[0];for(o=0;o<c.length;o++)j=c[o],m=d(l.aoColumns[j].nTh).clone(!0)[0],m.innerHTML="",k=m.style,k.paddingTop="0",k.paddingBottom="0",k.borderTopWidth="0",k.borderBottomWidth="0",k.height=0,k.width=f.s.aiInnerWidths[j]+"px",h.appendChild(m);d(">tbody>tr",f.dom.body).each(function(a){var b=this.cloneNode(false);b.removeAttribute("id");a=f.s.dt.aoData[f.s.dt.oFeatures.bServerSide===false?f.s.dt.aiDisplay[f.s.dt._iDisplayStart+
|
||||
a]:a].anCells||d(this).children("td, th");for(o=0;o<c.length;o++){j=c[o];if(a.length>0){m=d(a[j]).clone(true,true)[0];b.appendChild(m)}}p.appendChild(b)})}else d(">tbody>tr",f.dom.body).each(function(){m=this.cloneNode(true);m.className=m.className+" DTFC_NoData";d("td",m).html("");p.appendChild(m)});a.body.style.width="100%";a.body.style.margin="0";a.body.style.padding="0";l.oScroller!==t&&(h=l.oScroller.dom.force,b.forcer?b.forcer.style.height=h.style.height:(b.forcer=h.cloneNode(!0),b.liner.appendChild(b.forcer)));
|
||||
b.liner.appendChild(a.body);this._fnEqualiseHeights("tbody",f.dom.body,a.body);if(null!==l.nTFoot){if(g){null!==a.footer&&a.footer.parentNode.removeChild(a.footer);a.footer=d(this.dom.footer).clone(!0,!0)[0];a.footer.className+=" DTFC_Cloned";a.footer.style.width="100%";b.foot.appendChild(a.footer);n=this._fnCopyLayout(l.aoFooter,c);b=d(">tfoot",a.footer);b.empty();e=0;for(h=n.length;e<h;e++)b[0].appendChild(n[e].nTr);l.oApi._fnDrawHead(l,n,!0)}else{n=this._fnCopyLayout(l.aoFooter,c);b=[];l.oApi._fnDetectHeader(b,
|
||||
d(">tfoot",a.footer)[0]);e=0;for(h=n.length;e<h;e++){i=0;for(k=n[e].length;i<k;i++)b[e][i].cell.className=n[e][i].cell.className}}this._fnEqualiseHeights("tfoot",this.dom.footer,a.footer)}b=l.oApi._fnGetUniqueThs(l,d(">thead",a.header)[0]);d(b).each(function(a){j=c[a];this.style.width=f.s.aiInnerWidths[j]+"px"});null!==f.s.dt.nTFoot&&(b=l.oApi._fnGetUniqueThs(l,d(">tfoot",a.footer)[0]),d(b).each(function(a){j=c[a];this.style.width=f.s.aiInnerWidths[j]+"px"}))},_fnGetTrNodes:function(a){for(var b=
|
||||
[],c=0,d=a.childNodes.length;c<d;c++)"TR"==a.childNodes[c].nodeName.toUpperCase()&&b.push(a.childNodes[c]);return b},_fnEqualiseHeights:function(a,b,c){if(!("none"==this.s.sHeightMatch&&"thead"!==a&&"tfoot"!==a)){var g,f,e=b.getElementsByTagName(a)[0],c=c.getElementsByTagName(a)[0],a=d(">"+a+">tr:eq(0)",b).children(":first");a.outerHeight();a.height();for(var e=this._fnGetTrNodes(e),b=this._fnGetTrNodes(c),h=[],c=0,a=b.length;c<a;c++)g=e[c].offsetHeight,f=b[c].offsetHeight,g=f>g?f:g,"semiauto"==this.s.sHeightMatch&&
|
||||
(e[c]._DTTC_iHeight=g),h.push(g);c=0;for(a=b.length;c<a;c++)b[c].style.height=h[c]+"px",e[c].style.height=h[c]+"px"}}};j.defaults={iLeftColumns:1,iRightColumns:0,fnDrawCallback:null,sHeightMatch:"semiauto"};j.version="3.0.4";d.fn.dataTable.FixedColumns=j;return d.fn.DataTable.FixedColumns=j};"function"===typeof define&&define.amd?define(["jquery","datatables"],p):"object"===typeof exports?p(require("jquery"),require("datatables")):jQuery&&!jQuery.fn.dataTable.FixedColumns&&p(jQuery,jQuery.fn.dataTable)})(window,
|
||||
document);
|
Reference in New Issue
Block a user