mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Corrected filter-external docs. Fixes #571
This commit is contained in:
parent
ce54a95a8d
commit
bcefd5e004
@ -1935,7 +1935,7 @@ $(function(){
|
||||
These external inputs have one requirement, they must have a <code>data-column="#"</code>, where the <code>#</code> targets the column (zero-based index), pointing to a specific column to search.<br>
|
||||
<pre class="prettyprint lang-html"><input class="search" type="search" data-column="0" placeholder="Search first column"></pre>
|
||||
If you want to search all columns, using the updated "any match" method, set the data column value to "all":<br>
|
||||
<pre class="prettyprint lang-html"><input class="search" type="search" data-column="any" placeholder="Search entire table"></pre>
|
||||
<pre class="prettyprint lang-html"><input class="search" type="search" data-column="all" placeholder="Search entire table"></pre>
|
||||
The updated any matching code will now automatically update all associated inputs with the latest search.
|
||||
<br>
|
||||
This option replaces <a href="#widget-filter-anymatch"><code>filter_anyMatch</code></a>.
|
||||
|
Loading…
Reference in New Issue
Block a user