mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-15 20:25:07 +02:00
405 lines
8.2 KiB
HTML
405 lines
8.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Ignore diacritics by column | TableFilter</title>
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
|
|
|
|
<!-- Bootstrap theme -->
|
|
<link href="assets/css/bootstrap-theme.min.css" rel="stylesheet">
|
|
|
|
<!-- Custom styles for this template -->
|
|
<link href="assets/css/theme.css" rel="stylesheet">
|
|
|
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
<!--[if lt IE 9]>
|
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
|
<![endif]-->
|
|
</head>
|
|
<body>
|
|
|
|
|
|
<!-- Fixed navbar -->
|
|
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="./">TableFilter</a>
|
|
</div>
|
|
<div class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
<!-- you can exclude pages using {{#isnt}} helper: {{#isnt data.title 'Blog'}} -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li>
|
|
<a href="examples.html">Examples</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Github <b class="caret"></b></a>
|
|
<ul class="dropdown-menu">
|
|
<li>
|
|
<a href="https://github.com/koalyptus/TableFilter">Repo</a>
|
|
</li>
|
|
<li>
|
|
<a href="https://github.com/koalyptus/TableFilter/wiki">Wiki</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="./docs" target="_blank">Docs</a>
|
|
</li>
|
|
</ul>
|
|
</div><!--/.nav-collapse -->
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="container theme-showcase" role="main">
|
|
|
|
|
|
|
|
<h1>Ignore diacritics by column</h1>
|
|
<p>
|
|
You can also ignore diacritics on a column basis with the
|
|
<code>ignore_diacritics</code> option.
|
|
</p>
|
|
|
|
<div class="alert alert-info" role="alert">
|
|
In the first column, search for <code>falo</code> and then for
|
|
<code>falò</code>. Now, try <code>bru</code> in the second column.
|
|
</div>
|
|
|
|
|
|
<table id="demo">
|
|
<tbody>
|
|
<tr>
|
|
<th>Company</th>
|
|
<th>Contact</th>
|
|
<th>Country</th>
|
|
</tr>
|
|
<tr>
|
|
<td>Alfreds Futterkiste</td>
|
|
<td>BRÜNHILD Anders</td>
|
|
<td>Germany</td>
|
|
</tr>
|
|
<tr>
|
|
<td>La baguette</td>
|
|
<td>Jérôme Dupont</td>
|
|
<td>France</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Ernst Handel</td>
|
|
<td>Zoë Punkt</td>
|
|
<td>Austria</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Island Trading</td>
|
|
<td>Helen Bennett</td>
|
|
<td>UK</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Laughing Bacchus Winecellars</td>
|
|
<td>Yoshi Tannamuri</td>
|
|
<td>Canada</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Falò Alimentari Riuniti</td>
|
|
<td>Giovanni Rovelli</td>
|
|
<td>Italy</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
|
|
<script src="tablefilter/tablefilter.js"></script>
|
|
|
|
|
|
<script data-config>
|
|
var tf = new TableFilter('demo', {
|
|
base_path: 'tablefilter/',
|
|
ignore_diacritics: [false, true, false]
|
|
});
|
|
tf.init();
|
|
</script>
|
|
|
|
<p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
DO NOT COPY: NOT PART OF TABLEFILTER
|
|
-->
|
|
<pre class="js">
|
|
<code class="javascript"></code>
|
|
</pre>
|
|
<script src="assets/js/js-code-in-pre.js"></script>
|
|
<!-- -->
|
|
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<nav class="navbar navbar-default navbar-bottom">
|
|
<div class="container">
|
|
<ul class="nav navbar-nav">
|
|
<li>
|
|
<a href="https://github.com/koalyptus/TableFilter">Repo</a>
|
|
</li>
|
|
<li>
|
|
<a href="https://github.com/koalyptus/TableFilter/wiki">Wiki</a>
|
|
</li>
|
|
<li>
|
|
<a href="./docs" target="_blank">Docs</a>
|
|
</li>
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li>
|
|
<p>
|
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
|
|
<input type="hidden" name="cmd" value="_donations">
|
|
<input type="hidden" name="business" value="maxgug@hotmail.com">
|
|
<input type="hidden" name="lc" value="BM">
|
|
<input type="hidden" name="item_name" value="TableFilter">
|
|
<input type="hidden" name="no_note" value="0">
|
|
<input type="hidden" name="currency_code" value="USD">
|
|
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
|
|
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
|
|
<img alt="" border="0" src="https://www.paypalobjects.com/en_AU/i/scr/pixel.gif" width="1" height="1">
|
|
</form>
|
|
</p>
|
|
</li>
|
|
<li>
|
|
|
|
<a href="https://flattr.com/submit/auto?user_id=koalyptus&
|
|
url=https%3A%2F%2Fgithub.com%2Fkoalyptus%2FTablefilter">
|
|
<img src="https://api.flattr.com/button/flattr-badge-large.png"
|
|
alt="TableFilter - A Javascript library making HTML tables filterable
|
|
and a bit more" />
|
|
</a>
|
|
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
|
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
<script src="https://code.jquery.com/jquery.min.js"></script>
|
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
|
<script src="assets/js/bootstrap.min.js"></script>
|
|
|
|
<script src="assets/js/github-fork-me.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--
|
|
DO NOT COPY: NOT PART OF TABLEFILTER
|
|
-->
|
|
<link rel="stylesheet" href="assets/js/highlight/styles/monokai-sublime.css">
|
|
<script src="assets/js/highlight/highlight.pack.js"></script>
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
<!-- -->
|
|
|
|
|
|
<script type="text/javascript"
|
|
src="//s7.addthis.com/js/300/addthis_widget.js#pubid=maxgug"
|
|
async="async"></script>
|
|
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', 'UA-68429903-1', 'auto');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
</body>
|
|
</html>
|