mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Docs: updates & removed some widgets from beta
This commit is contained in:
parent
48d6ba5007
commit
f6b33cc367
@ -22,6 +22,8 @@ table.options .property, .setwidth {width:115px;}
|
|||||||
table.options .type {width:100px; }
|
table.options .type {width:100px; }
|
||||||
table.options .defaults {width:160px;}
|
table.options .defaults {width:160px;}
|
||||||
table.options .examples {width:60px;}
|
table.options .examples {width:60px;}
|
||||||
|
table.options thead th:nth-child(1) { width: 10%; }
|
||||||
|
table.options thead .defaults { width: 1%; }
|
||||||
table.compatibility { width: 50%; float: right; font-size: .8em; margin-left: 20px; }
|
table.compatibility { width: 50%; float: right; font-size: .8em; margin-left: 20px; }
|
||||||
table.compatibility th,table.compatibility td { text-align: center; padding: 2px; }
|
table.compatibility th,table.compatibility td { text-align: center; padding: 2px; }
|
||||||
pre,#display {overflow-x:auto;padding:15px;border:1px solid #ddd;border-left-width:5px;}
|
pre,#display {overflow-x:auto;padding:15px;border:1px solid #ddd;border-left-width:5px;}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>jQuery plugin: Tablesorter 2.0 - Align Character Widget (beta)</title>
|
<title>jQuery plugin: Tablesorter 2.0 - Align Character Widget</title>
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="js/jquery-latest.min.js"></script>
|
<script src="js/jquery-latest.min.js"></script>
|
||||||
@ -75,7 +75,7 @@ td:nth-child(3) .ts-align-right i {
|
|||||||
|
|
||||||
<div id="banner">
|
<div id="banner">
|
||||||
<h1>table<em>sorter</em></h1>
|
<h1>table<em>sorter</em></h1>
|
||||||
<h2>Align Character Widget (beta)</h2>
|
<h2>Align Character Widget</h2>
|
||||||
<h3>Flexible client-side table sorting</h3>
|
<h3>Flexible client-side table sorting</h3>
|
||||||
<a href="index.html">Back to documentation</a>
|
<a href="index.html">Back to documentation</a>
|
||||||
</div>
|
</div>
|
||||||
@ -92,7 +92,6 @@ td:nth-child(3) .ts-align-right i {
|
|||||||
<ul>
|
<ul>
|
||||||
<li>In <span class="version">v2.18.5</span>, if there is nothing to the right of the set align character, then the align character will not be added; this prevents hanging decimals like <code>3000.</code>.<p></p></li>
|
<li>In <span class="version">v2.18.5</span>, if there is nothing to the right of the set align character, then the align character will not be added; this prevents hanging decimals like <code>3000.</code>.<p></p></li>
|
||||||
<li>This widget will <strong>only work</strong> in tablesorter version 2.8+ and jQuery version 1.7+.</li>
|
<li>This widget will <strong>only work</strong> in tablesorter version 2.8+ and jQuery version 1.7+.</li>
|
||||||
<li>The widget is still in "beta", so options & functionality may change without warning; and, it has not been thoroughly tested!</li>
|
|
||||||
<li>Make sure to include the CSS shown below to maintain the alignment.</li>
|
<li>Make sure to include the CSS shown below to maintain the alignment.</li>
|
||||||
<li><span class="label warning">*NOTE*</span> if the table cell becomes too narrow, the alignment <strong>will not</strong> be maintained & some content may overflow into the next/previous cell (the widget css does include <code>overflow:hidden</code> on the wrapper, so some content will be hidden instead of overflowing).</li>
|
<li><span class="label warning">*NOTE*</span> if the table cell becomes too narrow, the alignment <strong>will not</strong> be maintained & some content may overflow into the next/previous cell (the widget css does include <code>overflow:hidden</code> on the wrapper, so some content will be hidden instead of overflowing).</li>
|
||||||
<li>Until the day that <code>text-align: '.';</code> becomes standard (<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/text-align">ref</a>), if ever, this widget might prove useful.</li>
|
<li>Until the day that <code>text-align: '.';</code> becomes standard (<a href="https://developer.mozilla.org/en-US/docs/Web/CSS/text-align">ref</a>), if ever, this widget might prove useful.</li>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>jQuery plugin: Tablesorter 2.0 - Column Selector Widget (beta)</title>
|
<title>jQuery plugin: Tablesorter 2.0 - Column Selector Widget</title>
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="js/jquery-latest.min.js"></script>
|
<script src="js/jquery-latest.min.js"></script>
|
||||||
@ -28,14 +28,6 @@
|
|||||||
.popover.right { text-align: left; }
|
.popover.right { text-align: left; }
|
||||||
.ui-widget-content a { color: #428bca; }
|
.ui-widget-content a { color: #428bca; }
|
||||||
</style>
|
</style>
|
||||||
<script>
|
|
||||||
$(function(){
|
|
||||||
$('.options').tablesorter({
|
|
||||||
widthFixed: true,
|
|
||||||
widgets: ['stickyHeaders']
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style id="css">/*** custom css only popup ***/
|
<style id="css">/*** custom css only popup ***/
|
||||||
.columnSelectorWrapper {
|
.columnSelectorWrapper {
|
||||||
@ -167,7 +159,7 @@
|
|||||||
|
|
||||||
<div id="banner">
|
<div id="banner">
|
||||||
<h1>table<em>sorter</em></h1>
|
<h1>table<em>sorter</em></h1>
|
||||||
<h2>Column Selector Widget (beta)</h2>
|
<h2>Column Selector Widget</h2>
|
||||||
<h3>Flexible client-side table sorting</h3>
|
<h3>Flexible client-side table sorting</h3>
|
||||||
<a href="index.html">Back to documentation</a>
|
<a href="index.html">Back to documentation</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -552,8 +552,6 @@ td.no-edit, span.no-edit {
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$('.options').tablesorter();
|
|
||||||
|
|
||||||
var wo = $('#table')[0].config.widgetOptions;
|
var wo = $('#table')[0].config.widgetOptions;
|
||||||
$('.enter').click(function(){
|
$('.enter').click(function(){
|
||||||
var t = wo.editable_enterToAccept = !wo.editable_enterToAccept;
|
var t = wo.editable_enterToAccept = !wo.editable_enterToAccept;
|
||||||
|
@ -18,14 +18,6 @@
|
|||||||
/* override the vertical-align top in the blue theme */
|
/* override the vertical-align top in the blue theme */
|
||||||
.notes.tablesorter-blue tbody td { vertical-align: middle; }
|
.notes.tablesorter-blue tbody td { vertical-align: middle; }
|
||||||
</style>
|
</style>
|
||||||
<script>
|
|
||||||
$(function(){
|
|
||||||
$('.options').tablesorter({
|
|
||||||
widthFixed: true,
|
|
||||||
widgets: ['stickyHeaders']
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- Tablesorter: required -->
|
<!-- Tablesorter: required -->
|
||||||
<link rel="stylesheet" href="../css/theme.blue.css">
|
<link rel="stylesheet" href="../css/theme.blue.css">
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
<link rel="stylesheet" href="../css/theme.blue.css">
|
<link rel="stylesheet" href="../css/theme.blue.css">
|
||||||
<link rel="stylesheet" href="../css/theme.ice.css">
|
<link rel="stylesheet" href="../css/theme.ice.css">
|
||||||
<script src="../js/jquery.tablesorter.js"></script>
|
<script src="../js/jquery.tablesorter.js"></script>
|
||||||
|
<script src="../js/jquery.tablesorter.widgets.js"></script>
|
||||||
|
|
||||||
<script src="../js/widgets/widget-formatter.js"></script>
|
<script src="../js/widgets/widget-formatter.js"></script>
|
||||||
|
|
||||||
@ -46,7 +47,7 @@
|
|||||||
|
|
||||||
$('.tablesorter').tablesorter({
|
$('.tablesorter').tablesorter({
|
||||||
theme: 'blue',
|
theme: 'blue',
|
||||||
widgets: ['formatter'],
|
widgets: ['formatter', 'filter'],
|
||||||
widgetOptions: {
|
widgetOptions: {
|
||||||
formatter_column: {
|
formatter_column: {
|
||||||
'.emphasize' : function( text, data ) {
|
'.emphasize' : function( text, data ) {
|
||||||
@ -206,7 +207,7 @@ function prettyDate(date){
|
|||||||
<tr>
|
<tr>
|
||||||
<th class="emphasize">Super Hero</th>
|
<th class="emphasize">Super Hero</th>
|
||||||
<th class="supercar">Super Car</th>
|
<th class="supercar">Super Car</th>
|
||||||
<th class="duckify">Image Links</th>
|
<th class="duckify filter-select">Image Links</th>
|
||||||
<th class="date">Added</th>
|
<th class="date">Added</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -236,14 +237,5 @@ function prettyDate(date){
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
|
||||||
$(function(){
|
|
||||||
$('.options').tablesorter({
|
|
||||||
widthFixed: true,
|
|
||||||
widgets: ['stickyHeaders']
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -69,14 +69,6 @@ tr.group-header.collapsed td i {
|
|||||||
<script src="../js/parsers/parser-input-select.js"></script>
|
<script src="../js/parsers/parser-input-select.js"></script>
|
||||||
<script src="../js/widgets/widget-grouping.js"></script>
|
<script src="../js/widgets/widget-grouping.js"></script>
|
||||||
|
|
||||||
<script>
|
|
||||||
$(function(){
|
|
||||||
$('.options').tablesorter({
|
|
||||||
widgets: [ "stickyHeaders" ]
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script id="js">$(function(){
|
<script id="js">$(function(){
|
||||||
|
|
||||||
$("#groups").tablesorter({
|
$("#groups").tablesorter({
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>jQuery plugin: Tablesorter 2.0 - Math Widget (beta)</title>
|
<title>jQuery plugin: Tablesorter 2.0 - Math Widget</title>
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="js/jquery-latest.min.js"></script>
|
<script src="js/jquery-latest.min.js"></script>
|
||||||
@ -78,11 +78,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$(function(){
|
$(function(){
|
||||||
$('.options').tablesorter({
|
|
||||||
widthFixed: true,
|
|
||||||
widgets: [ "stickyHeaders" ]
|
|
||||||
});
|
|
||||||
|
|
||||||
$('button').click(function () {
|
$('button').click(function () {
|
||||||
process();
|
process();
|
||||||
});
|
});
|
||||||
@ -166,7 +161,7 @@
|
|||||||
|
|
||||||
<div id="banner">
|
<div id="banner">
|
||||||
<h1>table<em>sorter</em></h1>
|
<h1>table<em>sorter</em></h1>
|
||||||
<h2>Math Widget (beta)</h2>
|
<h2>Math Widget</h2>
|
||||||
<h3>Flexible client-side table sorting</h3>
|
<h3>Flexible client-side table sorting</h3>
|
||||||
<a href="index.html">Back to documentation</a>
|
<a href="index.html">Back to documentation</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -204,7 +204,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="banner">
|
<div id="banner">
|
||||||
<h1>table<em>sorter</em></h1>
|
<h1>table<em>sorter</em></h1>
|
||||||
<h2>Output Widget (beta)</h2>
|
<h2>Output Widget</h2>
|
||||||
<h3>Flexible client-side table sorting</h3>
|
<h3>Flexible client-side table sorting</h3>
|
||||||
<a href="index.html">Back to documentation</a>
|
<a href="index.html">Back to documentation</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>jQuery plugin: Tablesorter 2.0 - Print Widget (beta)</title>
|
<title>jQuery plugin: Tablesorter 2.0 - Print Widget</title>
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="js/jquery-latest.min.js"></script>
|
<script src="js/jquery-latest.min.js"></script>
|
||||||
@ -104,7 +104,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="banner">
|
<div id="banner">
|
||||||
<h1>table<em>sorter</em></h1>
|
<h1>table<em>sorter</em></h1>
|
||||||
<h2>Print Widget (beta)</h2>
|
<h2>Print Widget</h2>
|
||||||
<h3>Flexible client-side table sorting</h3>
|
<h3>Flexible client-side table sorting</h3>
|
||||||
<a href="index.html">Back to documentation</a>
|
<a href="index.html">Back to documentation</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>jQuery plugin: Tablesorter 2.0 - Table Reflow Widget (beta)</title>
|
<title>jQuery plugin: Tablesorter 2.0 - Table Reflow Widget</title>
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="js/jquery-latest.min.js"></script>
|
<script src="js/jquery-latest.min.js"></script>
|
||||||
@ -228,7 +228,7 @@
|
|||||||
|
|
||||||
<div id="banner">
|
<div id="banner">
|
||||||
<h1>table<em>sorter</em></h1>
|
<h1>table<em>sorter</em></h1>
|
||||||
<h2>Table Reflow Widget (beta)</h2>
|
<h2>Table Reflow Widget</h2>
|
||||||
<h3>Flexible client-side table sorting</h3>
|
<h3>Flexible client-side table sorting</h3>
|
||||||
<a href="index.html">Back to documentation</a>
|
<a href="index.html">Back to documentation</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>jQuery plugin: Tablesorter 2.0 - Static Row Widget (beta)</title>
|
<title>jQuery plugin: Tablesorter 2.0 - Static Row Widget</title>
|
||||||
|
|
||||||
<!-- jQuery -->
|
<!-- jQuery -->
|
||||||
<script src="js/jquery-latest.min.js"></script>
|
<script src="js/jquery-latest.min.js"></script>
|
||||||
@ -28,14 +28,6 @@
|
|||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script>
|
|
||||||
$(function() {
|
|
||||||
$('.options').tablesorter({
|
|
||||||
widthFixed: true
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style id="css">#alphimals td {
|
<style id="css">#alphimals td {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@ -83,7 +75,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="banner">
|
<div id="banner">
|
||||||
<h1>table<em>sorter</em></h1>
|
<h1>table<em>sorter</em></h1>
|
||||||
<h2>Static Row Widget (beta)</h2>
|
<h2>Static Row Widget</h2>
|
||||||
<h3>Flexible client-side table sorting</h3>
|
<h3>Flexible client-side table sorting</h3>
|
||||||
<a href="index.html">Back to documentation</a>
|
<a href="index.html">Back to documentation</a>
|
||||||
</div>
|
</div>
|
||||||
@ -152,7 +144,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
These values take priority over the actual row index, so as shown in the "Single tbody" demo below, the header row is set to 50%, but initially, it is located at the top of the table.<br>
|
These values take priority over the actual row index, so as shown in the "Single tbody" demo below, the header row is set to 50%, but initially, it is located at the top of the table.<br>
|
||||||
<br>
|
<br>
|
||||||
If these values are changed dynamically, the static row location can be updated
|
If these values are changed dynamically, the static row location can be updated
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -143,11 +143,6 @@ Note:
|
|||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
|
|
||||||
$('.options').tablesorter({
|
|
||||||
widthFixed: true,
|
|
||||||
widgets: ['stickyHeaders']
|
|
||||||
});
|
|
||||||
|
|
||||||
window.includeCaption = true;
|
window.includeCaption = true;
|
||||||
$('.caption').on('click', function(){
|
$('.caption').on('click', function(){
|
||||||
includeCaption = !includeCaption;
|
includeCaption = !includeCaption;
|
||||||
|
@ -467,12 +467,12 @@
|
|||||||
</h4>
|
</h4>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><span class="label label-info">Beta</span> <a href="example-widget-align-character.html">Align Character Widget</a> (<span class="version">v2.15.8</span>).</li>
|
<li><a href="example-widget-align-character.html">Align Character Widget</a> (<span class="version">v2.15.8</span>).</li>
|
||||||
<li><a href="example-widget-build-table.html">Build Table Widget</a> (<span class="version">v2.11</span>; <span class="version updated">v2.16</span>).</li>
|
<li><a href="example-widget-build-table.html">Build Table Widget</a> (<span class="version">v2.11</span>; <span class="version updated">v2.16</span>).</li>
|
||||||
|
|
||||||
<li><span class="label label-info">Beta</span> <a href="example-widget-chart.html">Chart Widget</a> (<span class="version">v2.18.5</span>).</li>
|
<li><span class="label label-info">Beta</span> <a href="example-widget-chart.html">Chart Widget</a> (<span class="version">v2.18.5</span>).</li>
|
||||||
<li><span class="results">†</span> <a href="example-widget-columns.html">Columns Highlight widget</a> (v2.0.17)</li>
|
<li><span class="results">†</span> <a href="example-widget-columns.html">Columns Highlight widget</a> (v2.0.17)</li>
|
||||||
<li><span class="label label-info">Beta</span> <a href="example-widget-column-selector.html">Column Selector widget</a> (<span class="version">v2.15</span>; <span class="version updated">v2.18.5</span>).</li>
|
<li><a href="example-widget-column-selector.html">Column Selector widget</a> (<span class="version">v2.15</span>; <span class="version updated">v2.18.5</span>).</li>
|
||||||
<li><a href="example-widget-editable.html">Content Editable widget</a> (v2.9; <span class="version updated">v2.18.0</span>).</li>
|
<li><a href="example-widget-editable.html">Content Editable widget</a> (v2.9; <span class="version updated">v2.18.0</span>).</li>
|
||||||
<li><span class="label label-info">Beta</span> <a href="example-dragtable.html">Dragtable mod</a> - (jQuery UI widget for column reordering [<a href="http://stackoverflow.com/a/27770224/145346">ref</a>]; <span class="version">v2.18.5</span>).</li>
|
<li><span class="label label-info">Beta</span> <a href="example-dragtable.html">Dragtable mod</a> - (jQuery UI widget for column reordering [<a href="http://stackoverflow.com/a/27770224/145346">ref</a>]; <span class="version">v2.18.5</span>).</li>
|
||||||
<li><span class="results">†</span> Filter Widget (<span class="version updated">v2.17.4</span>):
|
<li><span class="results">†</span> Filter Widget (<span class="version updated">v2.17.4</span>):
|
||||||
@ -494,9 +494,9 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="example-widget-header-titles.html">Header titles widget</a> (v2.15.6; <span class="version updated">2.15.7</span>)</li>
|
<li><a href="example-widget-header-titles.html">Header titles widget</a> (v2.15.6; <span class="version updated">2.15.7</span>)</li>
|
||||||
<li><span class="label label-info">Beta</span> <a href="example-widget-math.html">Math widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.17.0</span>).</li>
|
<li><a href="example-widget-math.html">Math widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.17.0</span>).</li>
|
||||||
<li>
|
<li>
|
||||||
<span class="label label-info">Beta</span> <a href="example-widget-output.html">Output widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.17.5</span>)
|
<a href="example-widget-output.html">Output widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.17.5</span>)
|
||||||
<br><br>
|
<br><br>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
@ -506,13 +506,13 @@
|
|||||||
<br>
|
<br>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li><span class="label label-info">Beta</span> <a href="example-widget-print.html">Print widget</a> (<span class="version">v2.16.4</span>; <span class="version updated">v2.18.5</span>)</li>
|
<li><a href="example-widget-print.html">Print widget</a> (<span class="version">v2.16.4</span>; <span class="version updated">v2.18.5</span>)</li>
|
||||||
<li><span class="label label-info">Beta</span> <a href="example-widget-reflow.html">Reflow widget</a> (<span class="version">v2.16</span>)</li>
|
<li><a href="example-widget-reflow.html">Reflow widget</a> (<span class="version">v2.16</span>)</li>
|
||||||
<li><a href="example-widgets.html">Repeat Headers widget</a> (v2.0.5; <span class="version updated">v2.18.0</span>)</li>
|
<li><a href="example-widgets.html">Repeat Headers widget</a> (v2.0.5; <span class="version updated">v2.18.0</span>)</li>
|
||||||
<li><span class="results">†</span> <a href="example-widget-resizable.html">Resizable Columns widget</a> (v2.0.23.1; <span class="version updated">v2.18.0</span>)</li>
|
<li><span class="results">†</span> <a href="example-widget-resizable.html">Resizable Columns widget</a> (v2.0.23.1; <span class="version updated">v2.18.0</span>)</li>
|
||||||
<li><span class="results">†</span> <a href="example-widget-savesort.html">Save sort widget</a> (v2.0.27)</li>
|
<li><span class="results">†</span> <a href="example-widget-savesort.html">Save sort widget</a> (v2.0.27)</li>
|
||||||
<li><a href="example-widget-scroller.html">Scroller widget</a> (<span class="version">v2.9</span>; <span class="version updated">v2.18.5</span>).</li>
|
<li><a href="example-widget-scroller.html">Scroller widget</a> (<span class="version">v2.9</span>; <span class="version updated">v2.18.5</span>).</li>
|
||||||
<li><span class="label label-info">Beta</span> <a href="example-widget-static-row.html">StaticRow widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.17.3</span>).</li>
|
<li><a href="example-widget-static-row.html">StaticRow widget</a> (<span class="version">v2.16</span>; <span class="version updated">v2.17.3</span>).</li>
|
||||||
<li><span class="results">†</span> <a href="example-widget-sticky-header.html">Sticky header widget</a> (v2.0.21.1; <span class="version updated">v2.18.0</span>)</li>
|
<li><span class="results">†</span> <a href="example-widget-sticky-header.html">Sticky header widget</a> (v2.0.21.1; <span class="version updated">v2.18.0</span>)</li>
|
||||||
<li><a href="example-widget-css-sticky-header.html">Sticky header (css3) widget</a> (<span class="version">v2.14.2</span>; <span class="version updated">v2.18.3</span>).</li>
|
<li><a href="example-widget-css-sticky-header.html">Sticky header (css3) widget</a> (<span class="version">v2.14.2</span>; <span class="version updated">v2.18.3</span>).</li>
|
||||||
<li><span class="results">†</span> UITheme widget (<span class="version updated">v2.17.4</span>; <span class="version updated">v2.18.5</span>):
|
<li><span class="results">†</span> UITheme widget (<span class="version updated">v2.17.4</span>; <span class="version updated">v2.18.5</span>):
|
||||||
@ -6324,9 +6324,10 @@ $.tablesorter.getData( headerCell, config.headers[column], "sorter" );
|
|||||||
<pre class="prettyprint lang-js">$.tablesorter.formatFloat(string, table);</pre>
|
<pre class="prettyprint lang-js">$.tablesorter.formatFloat(string, table);</pre>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>string</code> - a string possibly containing a number.</li>
|
<li><code>string</code> - a string possibly containing a number.</li>
|
||||||
<li><code>table</code> - table DOM element (or jQuery object) of table.</li>
|
<li><code>table</code> - table DOM element (or jQuery object) of table (optional; required for non U.S. formatting).</li>
|
||||||
</ul>
|
</ul>
|
||||||
If <code>string</code> is empty, not a string type, or not a number (after processing), the string itself is returned.<br>
|
If <code>string</code> is empty, not a string type, or not a number (after processing), the string itself is returned.<br>
|
||||||
|
If <code>table</code> is not provided, the format float function will default to U.S. number formatting. The reason a <code>table</code> parameter is needed is to check the value of the <a href="#usnumberformat"><code>usNumberFormat</code></a> option.<br>
|
||||||
<br>
|
<br>
|
||||||
This function uses the <a href="#usnumberformat"><code>usNumberFormat</code></a> option to determine if either commas or decimals are removed before converting the value within the <code>string</code> parameter into a number type variable. This function does not use the <a href="#function-isdigit"><code>$.tablesorter.isDigit</code></a> function.<br>
|
This function uses the <a href="#usnumberformat"><code>usNumberFormat</code></a> option to determine if either commas or decimals are removed before converting the value within the <code>string</code> parameter into a number type variable. This function does not use the <a href="#function-isdigit"><code>$.tablesorter.isDigit</code></a> function.<br>
|
||||||
<br>
|
<br>
|
||||||
|
@ -154,6 +154,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$t.find('table.options').not('.tablesorter-jui').tablesorter({
|
||||||
|
widthFixed: true,
|
||||||
|
widgets: ['stickyHeaders']
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
@ -170,7 +176,7 @@
|
|||||||
// move below sticky header; added delay as there could be some lag
|
// move below sticky header; added delay as there could be some lag
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
$t = prop.closest('table');
|
$t = prop.closest('table');
|
||||||
if ($t.length) {
|
if ($t.length && $t[0].config) {
|
||||||
wo = $t[0].config.widgetOptions;
|
wo = $t[0].config.widgetOptions;
|
||||||
h = ( wo.$sticky ? wo.$sticky.height() : '' ) || $t.hasClass('hasStickHeaders') ? 27 : 0;
|
h = ( wo.$sticky ? wo.$sticky.height() : '' ) || $t.hasClass('hasStickHeaders') ? 27 : 0;
|
||||||
if ($t.hasClass('options') || $t.hasClass('api')) {
|
if ($t.hasClass('options') || $t.hasClass('api')) {
|
||||||
|
@ -1314,7 +1314,6 @@ ts.filter = {
|
|||||||
if (wo.filter_useParsedData || data.parsed[columnIndex]) {
|
if (wo.filter_useParsedData || data.parsed[columnIndex]) {
|
||||||
data.exact = data.cache;
|
data.exact = data.cache;
|
||||||
} else {
|
} else {
|
||||||
// using older or original tablesorter
|
|
||||||
val = $cells[columnIndex];
|
val = $cells[columnIndex];
|
||||||
result = $.trim( val.getAttribute( c.textAttribute ) || val.textContent || $cells.eq(columnIndex).text() );
|
result = $.trim( val.getAttribute( c.textAttribute ) || val.textContent || $cells.eq(columnIndex).text() );
|
||||||
data.exact = c.sortLocaleCompare ? ts.replaceAccents(result) : result; // issue #405
|
data.exact = c.sortLocaleCompare ? ts.replaceAccents(result) : result; // issue #405
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Column Selector/Responsive table widget (beta) for TableSorter - 1/20/2015 (v2.18.5)
|
/* Column Selector/Responsive table widget for TableSorter - 1/20/2015 (v2.18.5)
|
||||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||||
* by Justin Hallett & Rob Garrison
|
* by Justin Hallett & Rob Garrison
|
||||||
*/
|
*/
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*! tablesorter math widget - beta - updated 5/28/2014 (v2.17.1)
|
/*! tablesorter math widget - updated 5/28/2014 (v2.17.1)
|
||||||
* Requires tablesorter v2.16+ and jQuery 1.7+
|
* Requires tablesorter v2.16+ and jQuery 1.7+
|
||||||
* by Rob Garrison
|
* by Rob Garrison
|
||||||
*/
|
*/
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Output widget (beta) for TableSorter 7/17/2014 (v2.17.5)
|
/* Output widget for TableSorter 7/17/2014 (v2.17.5)
|
||||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||||
* Modified from:
|
* Modified from:
|
||||||
* HTML Table to CSV: http://www.kunalbabre.com/projects/table2CSV.php (License unknown?)
|
* HTML Table to CSV: http://www.kunalbabre.com/projects/table2CSV.php (License unknown?)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Print widget (beta) for TableSorter 6/18/2014 (v2.17.2)
|
/* Print widget for TableSorter 6/18/2014 (v2.17.2)
|
||||||
* Requires tablesorter v2.8+ and jQuery 1.2.6+
|
* Requires tablesorter v2.8+ and jQuery 1.2.6+
|
||||||
*/
|
*/
|
||||||
/*jshint browser:true, jquery:true, unused:false */
|
/*jshint browser:true, jquery:true, unused:false */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* table reflow widget (beta) for TableSorter 3/22/2014 (v2.16.0)
|
/* table reflow widget for TableSorter 3/22/2014 (v2.16.0)
|
||||||
* Requires tablesorter v2.8+ and jQuery 1.7+
|
* Requires tablesorter v2.8+ and jQuery 1.7+
|
||||||
* Also, this widget requires the following default css (modify as desired)
|
* Also, this widget requires the following default css (modify as desired)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user