mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Docs: fix demo link
This commit is contained in:
parent
6834ec74a9
commit
b71dddef98
@ -592,7 +592,7 @@
|
||||
<td>Any <code>colspan</code> cells in the tbody may have its content duplicated in the cache for each spanned column (<span class="version">v2.25.0</span>; <span class="version updated">v2.25.8</span>).
|
||||
<div class="collapsible">
|
||||
<p>If <code>true</code>, the cache will contain duplicated cell contents for every column the <code>colspan</code> includes. This makes it easier to sort & filter columns because a cell spanning all columns will only work with one parser.</p>
|
||||
<p>In <span class="version updated">v2.25.8</span>, the contents of cells that are spanned will be set to an empty string only if the <code>textExtraction</code> setting is left as a string. If a function is added, it will be used to attempt to extract other content from the spanned cell (see <a href="">Stackoverflow</a> for an example).</p>
|
||||
<p>In <span class="version updated">v2.25.8</span>, the contents of cells that are spanned will be set to an empty string only if the <code>textExtraction</code> setting is left as a string. If a function is added, it will be used to attempt to extract other content from the spanned cell (see <a href="http://jsfiddle.net/Mottie/aoLgu7f9/18/">demo</a> for an example).</p>
|
||||
<pre class="prettyprint lang-js">// this row: <tr><td colspan="3">foo</td><td>bar</td></tr> results in this row cache:
|
||||
[ 'foo', 'foo', 'foo', 'bar' ] // if duplicateSpan = true
|
||||
[ 'foo', '', '', 'bar' ] // if duplicateSpan = false (no textExtraction function)</pre>
|
||||
|
Loading…
Reference in New Issue
Block a user