mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Build table widget doc fixes & update
This commit is contained in:
parent
af8111d815
commit
2402d2c3b6
@ -89,7 +89,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="#" class="toggle2"><code>build_type</code></a></td>
|
<td><a href="#" class="permalink"><code>build_type</code></a></td>
|
||||||
<td>String</td>
|
<td>String</td>
|
||||||
<td><code>""</code></td>
|
<td><code>""</code></td>
|
||||||
<td>
|
<td>
|
||||||
@ -101,7 +101,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="#" class="toggle2"><code>build_source</code></a></td>
|
<td><a href="#" class="permalink"><code>build_source</code></a></td>
|
||||||
<td>String</td>
|
<td>String</td>
|
||||||
<td><code>""</code></td>
|
<td><code>""</code></td>
|
||||||
<td>
|
<td>
|
||||||
@ -112,7 +112,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="#" class="toggle2"><code>build_processing</code></a></td>
|
<td><a href="#" class="permalink"><code>build_processing</code></a></td>
|
||||||
<td>Function</td>
|
<td>Function</td>
|
||||||
<td><code>null</code></td>
|
<td><code>null</code></td>
|
||||||
<td>
|
<td>
|
||||||
@ -147,7 +147,7 @@
|
|||||||
<td>Array of header class names to add while building the table header.</td>
|
<td>Array of header class names to add while building the table header.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="#" class="toggle2"><code>build_headers.text</code></a></td>
|
<td><a href="#" class="permalink"><code>build_headers.text</code></a></td>
|
||||||
<td>Array</td>
|
<td>Array</td>
|
||||||
<td><code>[]</code></td>
|
<td><code>[]</code></td>
|
||||||
<td>Array of header cell names to add while building the table header.
|
<td>Array of header cell names to add while building the table header.
|
||||||
@ -175,7 +175,7 @@
|
|||||||
<td>Array of footer class names to add while building the table footer.</td>
|
<td>Array of footer class names to add while building the table footer.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="#" class="toggle2"><code>build_footers.text</code></a></td>
|
<td><a href="#" class="permalink"><code>build_footers.text</code></a></td>
|
||||||
<td>Array</td>
|
<td>Array</td>
|
||||||
<td><code>[]</code></td>
|
<td><code>[]</code></td>
|
||||||
<td>Array of footer cell names to add while building the table footer.
|
<td>Array of footer cell names to add while building the table footer.
|
||||||
@ -186,7 +186,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="#" class="toggle2"><code>build_numbers.addColumn</code></a></td>
|
<td><a href="#" class="permalink"><code>build_numbers.addColumn</code></a></td>
|
||||||
<td>Boolean</td>
|
<td>Boolean</td>
|
||||||
<td><code>false</code></td>
|
<td><code>false</code></td>
|
||||||
<td>Include a row numbering column.
|
<td>Include a row numbering column.
|
||||||
@ -196,7 +196,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="#" class="toggle2"><code>build_numbers.sortable</code></a></td>
|
<td><a href="#" class="permalink"><code>build_numbers.sortable</code></a></td>
|
||||||
<td>Boolean</td>
|
<td>Boolean</td>
|
||||||
<td><code>false</code></td>
|
<td><code>false</code></td>
|
||||||
<td>Make the included row number column sortable.
|
<td>Make the included row number column sortable.
|
||||||
@ -257,6 +257,20 @@
|
|||||||
|
|
||||||
</div> <!-- end options -->
|
</div> <!-- end options -->
|
||||||
|
|
||||||
|
<h3><a href="#">Setup - Common (document head)</a></h3>
|
||||||
|
<div>
|
||||||
|
Add the following required scripts and css files into the document <code><head></code>
|
||||||
|
<pre class="prettyprint lang-html"><!-- jQuery -->
|
||||||
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||||
|
|
||||||
|
<!-- Tablesorter: required -->
|
||||||
|
<link rel="stylesheet" href="../css/theme.blue.css"> <!-- choose any theme -->
|
||||||
|
<script src="../js/jquery.tablesorter.js"></script>
|
||||||
|
|
||||||
|
<!-- build table widget -->
|
||||||
|
<script type="text/javascript" src="../js/widgets/widget-build-table.js"></script></pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3><a href="#">Setup - Array (javascript variable)</a></h3>
|
<h3><a href="#">Setup - Array (javascript variable)</a></h3>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user