javascript - tablesorter with custom sorter's rules -
i use table connected tablesorter library (http://tablesorter.com/docs).
$('#mytable').tablesorter({ dateformat: 'yyyy-mm-dd', widthfixed: false, widgets: ['zebra'], });
all columns sorted correctly, except containing html code (such columns not sorted @ all).
<tr> <td>text - sorting correct</td> <td>text <span>new text</span> - srting incorrect</td> </tr>
how fix error?
i thought write means of tablesorter (if any) sorting function, contents of tabith cell perceived text, without tags
Comments
Post a Comment