Hi
I'm using tablesorter and have problems with sorting tables that contain rowspan in definition. I've read hints here http://stackoverflow.com/questions/2509690 but solution doesn't work when I have different values for rowspan: once is rowspan=3, once 4 - depends on data taken from DB.
Do you have any other plugin that sorts even such non-standard tables or maybe you know how to tune tablesorter so it sorts data properly?
Expected behaviour: when clicked on column, rows "belonging" to rowspan should be sorted within this section only, all the others - in a standard way.
Thanks in advance,
Zbigniew
Table code example:
<html>
<body>
<table id="misint" border=1 width="400px">
<thead>
<tr style="background:yellow">
<th>Col1</th>
<th>Col2</th>
<th>Col3</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="3">1-1</td>
<td>1-2</td>
<td>1-3</td>
</tr>
<tr>
<td>2-2</td>
<td>2-3</td>
</tr>
<tr>
<td>3-2</td>
<td>3-3</td>
</tr>
<tr>
<td>4-1</td>
<td>4-2</td>
<td>4-3</td>
</tr>
<tr>
<td>5-1</td>
<td rowspan="2">5-2</td>
<td>5-3</td>
</tr>
<tr>
<td>6-1</td>
<td>6-3</td>
</tr>
</tbody>
</table>
</body>
</html>