mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Merge branch 'master' into working
This commit is contained in:
commit
b5f931ec17
@ -74,7 +74,7 @@ $(function() {
|
||||
<ul>
|
||||
<li>Within this function, modify the given text from the cell (<code>s</code>) or obtain parameters and/or other data from the cell (<code>cell</code>) then return this data to the plugin.</li>
|
||||
<li>As an example, the date parser takes the date string (e.g. <code>"12/25/2013"</code>) and converts it into a numeric value (<code>1387951200000</code>; <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Date/getTime">ref</a>) to make sorting and comparing dates easier.</li>
|
||||
<li>Use the <code>cellIndex</code> if the cells within columns contain different data - see this demo for an example.</li>
|
||||
<li>Use the <code>cellIndex</code> if the cells within columns contain different data - see this <a href="example-parsers-advanced.html">demo</a> for an example.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>The <code>parsed</code> block (added <span class="version">v2.15.0</span>)
|
||||
|
@ -250,7 +250,7 @@
|
||||
};
|
||||
while (j < len) {
|
||||
rows = tb[j].rows;
|
||||
if (rows[j]) {
|
||||
if (rows.length) {
|
||||
l = c.columns; // rows[j].cells.length;
|
||||
for (i = 0; i < l; i++) {
|
||||
h = c.$headers.filter('[data-column="' + i + '"]:last');
|
||||
|
Loading…
Reference in New Issue
Block a user