tablesorter icon indicating copy to clipboard operation
tablesorter copied to clipboard

Sort with nested data

Open danyeah opened this issue 10 years ago • 0 comments

Hello I have a table with 2 cells, one cell contains an img and the other one different datas.

<tr>
  <td><img src="img.jpg"/></td>
  <td>
    <div class="price-row">Price: <strong>1000</strong></div>
    <div class="year-row">Year: <strong>2001</strong></div>
    <div class="km-row">Km: <strong>10320</strong></div>
  </td>
</tr>

Is there anyway i can instruct this plugin to use certain datas for different sorting?

I need to Sort by Price, Year and Km

Thanks in advance

danyeah avatar Jan 21 '15 15:01 danyeah