Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6797227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:35:00+00:00 2026-05-26T18:35:00+00:00

I have table like that : <table id=table_id class=tablesorter> <thead> <tr class=trheader> <th colspan=2>111</th>

  • 0

I have table like that :

<table id="table_id" class="tablesorter">
<thead>
<tr class="trheader">
<th colspan="2">111</th>
<th>-SORT-ME-</th>
<th>222</th>
<th>333</th>
</tr>
</thead>

<tbody>
<tr>
<td id="id_1"><img src=""></td>
<td id="id_11">11</td>
<td id="id_12">===SORT.VALUE===</td>
<td id="id_13">13</td>
<td id="id_14"><a href="#" class="send_data"><img src=""></a></td>
</tr>
<tr>
<td id="id_t1" colspan="5" onclick="some_func">
<label for="id_i1">_lbl_</label>
<img id="image_1" src=""></img>
<div id="id_i1">
</div>
</td>
</tr>

<tr>
<td id="id_2"><img src=""></td>
<td id="id_21">21</td>
<td id="id_22">===SORT.VALUE===</td>
<td id="id_23"></td>
<td id="id_ordbtn_2"><a href="#"><img src=""></a></td>
</tr>
<tr>
<td id="id_t2" colspan="5" onclick="some_func">
<label for="id_i2">_label2_</label>
<img id="image_2" src="">
<div id="id_i2">
</div>
</td>
</tr>
... more of the same...
</tbody>
</table>

Is it somehow possible to use JQuery tablesorter or other script to sort the table based on values in -SORT-ME- // ===SORT.VALUE=== // ===SORT.VALUE=== and to keep the table displayed properly, as i tried to use tablesort(er) and it messes it ( start do switch rows… displays the table broken ) It’s because of the second :: colspan=5 data, that makes the table non uniform or non-standard or i don’t know the exact phrase for that, i hope you get what i’m trying to say.

Sorry for the not very informative description of the problem, but as you’ve already guessed English is not my native language and i struggle when i need to explain more complicated things.

Thank you guys, your help is greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:35:01+00:00Added an answer on May 26, 2026 at 6:35 pm

    Are you trying to add a child row that gets sorted along with the parent row?

    If so, I found this demo on doing just that. It is actually part of the tablesorter plugin v2.0.5 but it isn’t documented. So you can just copy the html and code they use, but you don’t need to download the mod.

    I’ve added the missing documentation in a blog post I made and I’ve forked and modified the plugin itself on github and made another child row demo, if you are interested.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table data like this: <table class=tablesorter id=dea> <thead> <tr> <th class=header
I have a table that looks like: Client_ID | Order_ID | 10 | 1
I have a table that looks like this: id count 1 100 2 50
I have a table that's created like this: CREATE TABLE bin_test (id INTEGER PRIMARY
I have a table that looks something like this: id | firstperson | secondperson
I have a table named visiting that looks like this: id | visitor_id |
I have a table posts that could look like this: id | title |
I have a user table 'users' that has fields like: id first_name last_name ...
I have an HTML table that I'd like to be able to export to
I have a table with a lot of repeated data that I'd like to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.