Corrected filter-external docs. Fixes #571

This commit is contained in:
Mottie 2014-04-06 22:01:47 -05:00
parent ce54a95a8d
commit bcefd5e004

View File

@ -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> 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">&lt;input class=&quot;search&quot; type=&quot;search&quot; data-column=&quot;0&quot; placeholder=&quot;Search first column&quot;&gt;</pre> <pre class="prettyprint lang-html">&lt;input class=&quot;search&quot; type=&quot;search&quot; data-column=&quot;0&quot; placeholder=&quot;Search first column&quot;&gt;</pre>
If you want to search all columns, using the updated "any match" method, set the data column value to "all":<br> 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">&lt;input class=&quot;search&quot; type=&quot;search&quot; data-column=&quot;any&quot; placeholder=&quot;Search entire table&quot;&gt;</pre> <pre class="prettyprint lang-html">&lt;input class=&quot;search&quot; type=&quot;search&quot; data-column=&quot;all&quot; placeholder=&quot;Search entire table&quot;&gt;</pre>
The updated any matching code will now automatically update all associated inputs with the latest search. The updated any matching code will now automatically update all associated inputs with the latest search.
<br> <br>
This option replaces <a href="#widget-filter-anymatch"><code>filter_anyMatch</code></a>. This option replaces <a href="#widget-filter-anymatch"><code>filter_anyMatch</code></a>.