annotate DataTables-1.9.4/extras/FixedColumns/docs/FixedColumns.defaults.html @ 6:42076db43d42 draft

Fixed auto resizing plus various other minor bugs
author saskia-hiltemann
date Mon, 16 Nov 2015 08:56:22 -0500
parents ac5f9272033b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
2 <html>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
3 <head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
4 <meta http-equiv="Content-type" content="text/html; charset=utf-8">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
5 <title>Namespace: defaults - documentation</title>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
6
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
7 <style type="text/css" media="screen">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
8 @import "media/css/doc.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
9 @import "media/css/shCore.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
10 @import "media/css/shThemeDataTables.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
11 </style>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 <script type="text/javascript" src="media/js/shCore.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 <script type="text/javascript" src="media/js/shBrushJScript.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 <script type="text/javascript" src="media/js/jquery.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 <script type="text/javascript" src="media/js/doc.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 </head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 <body>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 <div class="fw_container">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 <a name="top"></a>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 <div class="fw_header">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 <h1 class="page-title">Namespace: defaults</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 <h2 class="ancestors">Ancestry: <span class="ancestors"><a href="FixedColumns.html">FixedColumns</a>.</span> ยป defaults</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 <div class="page-info">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 FixedColumns v2.0.3 documentation
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32 <div class="fw_nav">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 <h2>Navigation</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 <ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 <li><a href="#top">Overview</a></li>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 <li><a href="#summary">Summary</a><div><table cellpadding="5" border="0" cellspacing="0" width="100%"><tbody><tr><td>Classes (0)</td><td>Namespaces (0)</td></tr><tr><td>Properties (0)</td><td><a href="#summary_properties_static">Static properties (8)</a></td></tr><tr><td>Methods (0)</td><td>Static methods (0)</td></tr><tr><td>Events (0)</td><td></td></tr></tbody></table></div></li><li><a href="#details">Details</a><div><table cellpadding="5" border="0" cellspacing="0" width="100%"><tbody><tr><td>Properties (0)</td><td><a href="#summary_properties_static">Static properties (8)</a></td></tr><tr><td>Methods (0)</td><td>Static methods (0)</td></tr><tr><td>Events (0)</td><td></td></tr></tbody></table></div></li></ul>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 <div style="margin-top: 10px;">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 <input type="hidden" name="show_private" value="0">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 <span id="private_label">Hiding</span> private elements
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 (<a id="private_toggle" href="">toggle</a>)
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41 </span>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43 <div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44 <input type="hidden" name="show_extended" value="1">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 <span id="extended_label">Showing</span> extended elements
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
46 (<a id="extended_toggle" href="">toggle</a>)
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 </span>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51 <div class="fw_content">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52 <a name="overview"></a>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 <div class="doc_overview">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 <div class="nav_blocker"></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 <p>FixedColumns default settings for initialisation</p><dl class="details">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57 </dl>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
61
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62 <div class="doc_summary">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63 <a name="summary"></a>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 <h2>Summary</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66 <div class="doc_group"><a name="summary_properties_static"></a><h3 class="subsection-title">Properties - static</h3>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
67
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
68 <dl>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
69 <dt class=" even"><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#fnDrawCallback">fnDrawCallback</a></span><span class="type-sig"><span class="type-signature"> :function(object, object):void</span></span></dt><dd class=" even"><p>Draw callback function which is called when FixedColumns has redrawn the fixed assets</p></dd><dt class=" odd"><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#iLeftColumns">iLeftColumns</a></span><span class="type-sig"><span class="type-signature"> :int</span></span></dt><dd class=" odd"><p>Number of left hand columns to fix in position</p></dd><dt class=" even"><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#iLeftWidth">iLeftWidth</a></span><span class="type-sig"><span class="type-signature"> :int</span></span></dt><dd class=" even"><p>Width to set for the width of the left fixed column(s) - note that the behaviour of this
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
70 property is directly effected by the sLeftWidth property. If not defined then this property
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
71 is calculated automatically from what has been assigned by DataTables.</p></dd><dt class=" odd"><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#iRightColumns">iRightColumns</a></span><span class="type-sig"><span class="type-signature"> :int</span></span></dt><dd class=" odd"><p>Number of right hand columns to fix in position</p></dd><dt class=" even"><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#iRightWidth">iRightWidth</a></span><span class="type-sig"><span class="type-signature"> :int</span></span></dt><dd class=" even"><p>Width to set for the width of the right fixed column(s) - note that the behaviour of this
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
72 property is directly effected by the sRightWidth property. If not defined then this property
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
73 is calculated automatically from what has been assigned by DataTables.</p></dd><dt class=" odd"><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#sHeightMatch">sHeightMatch</a></span><span class="type-sig"><span class="type-signature"> :string</span></span></dt><dd class=" odd"><p>Height matching algorthim to use. This can be "none" which will result in no height
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
74 matching being applied by FixedColumns (height matching could be forced by CSS in this
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
75 case), "semiauto" whereby the height calculation will be performed once, and the result
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
76 cached to be used again (fnRecalculateHeight can be used to force recalculation), or
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
77 "auto" when height matching is performed on every draw (slowest but must accurate)</p></dd><dt class=" even"><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#sLeftWidth">sLeftWidth</a></span><span class="type-sig"><span class="type-signature"> :string</span></span></dt><dd class=" even"><p>Type of left column size calculation. Can take the values of "fixed", whereby the iLeftWidth
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
78 value will be treated as a pixel value, or "relative" for which case iLeftWidth will be
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
79 treated as a percentage value.</p></dd><dt class=" odd"><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#sRightWidth">sRightWidth</a></span><span class="type-sig"><span class="type-signature"> :string</span></span></dt><dd class=" odd"><p>Type of right column size calculation. Can take the values of "fixed", whereby the
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
80 iRightWidth value will be treated as a pixel value, or "relative" for which case
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
81 iRightWidth will be treated as a percentage value.</p></dd>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
82 </dl></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
83 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
84
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
85
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
86
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
87
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
88 <div class="doc_details">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
89 <a name="details"></a>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
90 <h2>Details</h2>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
91 <div class="doc_group"><a name="details_properties"></a><h3 class="subsection-title">Properties - static</h3>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
92 <dl>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
93 <dt class=" even"><a name="fnDrawCallback"></a><a name="fnDrawCallback_details"></a><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#fnDrawCallback">fnDrawCallback</a></span><span class="type-sig"><span class="type-signature"> :function(object, object):void</span></span></dt><dd class=" even"><p>Draw callback function which is called when FixedColumns has redrawn the fixed assets</p><div class="collapse_details"><dl class="details">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
94
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
95 </dl>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
96 <h5>Example</h5>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
97 <div class="example-code">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
98 <pre class="brush: js"> var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
99 "sScrollX": "100%"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
100 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
101 new FixedColumns( oTable, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
102 "fnDrawCallback": function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
103 alert( "FixedColumns redraw" );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
104 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
105 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
106 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
107 </div></dd><dt class=" odd"><a name="iLeftColumns"></a><a name="iLeftColumns_details"></a><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#iLeftColumns">iLeftColumns</a></span><span class="type-sig"><span class="type-signature"> :int</span></span></dt><dd class=" odd"><p>Number of left hand columns to fix in position</p><div class="collapse_details"><dl class="details">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
108
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
109 </dl>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
110 <h5>Example</h5>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
111 <div class="example-code">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
112 <pre class="brush: js"> var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
113 "sScrollX": "100%"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
114 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
115 new FixedColumns( oTable, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
116 "iLeftColumns": 2
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
117 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
118 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
119 </div></dd><dt class=" even"><a name="iLeftWidth"></a><a name="iLeftWidth_details"></a><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#iLeftWidth">iLeftWidth</a></span><span class="type-sig"><span class="type-signature"> :int</span></span></dt><dd class=" even"><p>Width to set for the width of the left fixed column(s) - note that the behaviour of this
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
120 property is directly effected by the sLeftWidth property. If not defined then this property
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
121 is calculated automatically from what has been assigned by DataTables.</p><div class="collapse_details"><dl class="details">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
122
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
123 </dl>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
124 <h5>Example</h5>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
125 <div class="example-code">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
126 <pre class="brush: js"> var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
127 "sScrollX": "100%"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
128 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
129 new FixedColumns( oTable, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
130 "iLeftWidth": 100 // pixels
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
131 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
132 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
133 </div></dd><dt class=" odd"><a name="iRightColumns"></a><a name="iRightColumns_details"></a><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#iRightColumns">iRightColumns</a></span><span class="type-sig"><span class="type-signature"> :int</span></span></dt><dd class=" odd"><p>Number of right hand columns to fix in position</p><div class="collapse_details"><dl class="details">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
134
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
135 </dl>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
136 <h5>Example</h5>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
137 <div class="example-code">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
138 <pre class="brush: js"> var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
139 "sScrollX": "100%"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
140 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
141 new FixedColumns( oTable, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
142 "iRightColumns": 1
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
143 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
144 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
145 </div></dd><dt class=" even"><a name="iRightWidth"></a><a name="iRightWidth_details"></a><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#iRightWidth">iRightWidth</a></span><span class="type-sig"><span class="type-signature"> :int</span></span></dt><dd class=" even"><p>Width to set for the width of the right fixed column(s) - note that the behaviour of this
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
146 property is directly effected by the sRightWidth property. If not defined then this property
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
147 is calculated automatically from what has been assigned by DataTables.</p><div class="collapse_details"><dl class="details">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
148
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
149 </dl>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
150 <h5>Example</h5>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
151 <div class="example-code">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
152 <pre class="brush: js"> var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
153 "sScrollX": "100%"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
154 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
155 new FixedColumns( oTable, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
156 "iRightWidth": 200 // pixels
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
157 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
158 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
159 </div></dd><dt class=" odd"><a name="sHeightMatch"></a><a name="sHeightMatch_details"></a><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#sHeightMatch">sHeightMatch</a></span><span class="type-sig"><span class="type-signature"> :string</span></span></dt><dd class=" odd"><p>Height matching algorthim to use. This can be "none" which will result in no height
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
160 matching being applied by FixedColumns (height matching could be forced by CSS in this
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
161 case), "semiauto" whereby the height calculation will be performed once, and the result
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
162 cached to be used again (fnRecalculateHeight can be used to force recalculation), or
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
163 "auto" when height matching is performed on every draw (slowest but must accurate)</p><div class="collapse_details"><dl class="details">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
164
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
165 </dl>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
166 <h5>Example</h5>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
167 <div class="example-code">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
168 <pre class="brush: js"> var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
169 "sScrollX": "100%"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
170 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
171 new FixedColumns( oTable, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
172 "sHeightMatch": "auto"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
173 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
174 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
175 </div></dd><dt class=" even"><a name="sLeftWidth"></a><a name="sLeftWidth_details"></a><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#sLeftWidth">sLeftWidth</a></span><span class="type-sig"><span class="type-signature"> :string</span></span></dt><dd class=" even"><p>Type of left column size calculation. Can take the values of "fixed", whereby the iLeftWidth
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
176 value will be treated as a pixel value, or "relative" for which case iLeftWidth will be
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
177 treated as a percentage value.</p><div class="collapse_details"><dl class="details">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
178
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
179 </dl>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
180 <h5>Example</h5>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
181 <div class="example-code">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
182 <pre class="brush: js"> var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
183 "sScrollX": "100%"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
184 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
185 new FixedColumns( oTable, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
186 "sLeftWidth": "relative",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
187 "iLeftWidth": 10 // percentage
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
188 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
189 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
190 </div></dd><dt class=" odd"><a name="sRightWidth"></a><a name="sRightWidth_details"></a><span class="type-attr"><span class="type-signature">&lt;static> </span></span><span class="type-name"><a href="#sRightWidth">sRightWidth</a></span><span class="type-sig"><span class="type-signature"> :string</span></span></dt><dd class=" odd"><p>Type of right column size calculation. Can take the values of "fixed", whereby the
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
191 iRightWidth value will be treated as a pixel value, or "relative" for which case
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
192 iRightWidth will be treated as a percentage value.</p><div class="collapse_details"><dl class="details">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
193
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
194 </dl>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
195 <h5>Example</h5>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
196 <div class="example-code">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
197 <pre class="brush: js"> var oTable = $('#example').dataTable( {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
198 "sScrollX": "100%"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
199 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
200 new FixedColumns( oTable, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
201 "sRightWidth": "relative",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
202 "iRightWidth": 10 // percentage
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
203 } );</pre>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
204 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
205 </div></dd>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
206 </dl></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
207 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
208
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
209 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
210
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
211 <div class="fw_footer">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
212 FixedColumns: Copyright 2010-2011 Allan Jardine, all rights reserved<br>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
213
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
214 Documentation generated by <a href="https://github.com/micmath/JSDoc">JSDoc 3</a> on
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
215 23th Sep 2012 - 14:27
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
216 with the <a href="http://datatables.net/">DataTables</a> template.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
217 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
218 </body>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
219 </html>