Merge branch 'master' of github.com:DataTables/Plugins

pull/527/head
SandyDatatables 3 years ago
commit 1c0f914800

@ -70,13 +70,13 @@ $(document).ready(function() {
<p>Fuzzy searching is used in search engines and databases to perform searches that will match results that are not necessarily exactly the same as the search <p>Fuzzy searching is used in search engines and databases to perform searches that will match results that are not necessarily exactly the same as the search
term. This allows spelling mistakes and typos to be accounted for. It also allows small changes in dialect not to affect search results. A commonly used example is term. This allows spelling mistakes and typos to be accounted for. It also allows small changes in dialect not to affect search results. A commonly used example is
for surname searching. "Smith" and "Smythe" are pronounced the same way, but using conventional searching typing "Smith" would not return "Smythe".</p> for surname searching. "Smith" and "Smythe" are pronounced the same way, but using conventional searching typing "Smith" would not return "Smythe".</p>
<p>This plug-in adds fuzzy search functionality to datatables. It does this through a combination of exact matching and the <a href= <p>This plug-in adds fuzzy search functionality to DataTables. It does this through a combination of exact matching and the <a href=
"https://github.com/tad-lispy/node-damerau-levenshtein">damerau-levenshtein algorithm</a>. There are four initialisation options that are associated with this "https://github.com/tad-lispy/node-damerau-levenshtein">Damerau-Levenshtein algorithm</a>. There are four initialisation options that are associated with this
plugin.</p> plugin.</p>
<ul class="markdown"> <ul class="markdown">
<li><code>fuzzySearch.toggleSmart</code> allows the searching to be changed from exact matching to fuzzy searching.</li> <li><code>fuzzySearch.toggleSmart</code> allows the searching to be changed from exact matching to fuzzy searching.</li>
<li><code>fuzzySearch.rankColumn</code> allows the % match to be set in a column within the datatable. Some examples of use cases could be to display the value <li><code>fuzzySearch.rankColumn</code> allows the % match to be set in a column within the datatable. Some examples of use cases could be to display the value
to the user. or to hide the column and order based on it - as a search engine would.</li> to the user, or to hide the column and order based on it - as a search engine would.</li>
<li><code>fuzzySearch.threshold</code> allows the value of similarity that is required from the damerau-levenshtein function to display the row to be <li><code>fuzzySearch.threshold</code> allows the value of similarity that is required from the damerau-levenshtein function to display the row to be
changed.</li> changed.</li>
<li><code>fuzzySearch.returnSearch</code> allows the option for searching to only occur when the enter key is pressed.</li> <li><code>fuzzySearch.returnSearch</code> allows the option for searching to only occur when the enter key is pressed.</li>
@ -572,4 +572,4 @@ $(document).ready(function() {
</div> </div>
</section> </section>
</body> </body>
</html> </html>

Loading…
Cancel
Save