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

  • SEARCH
  • Home
  • 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 7902909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:37:47+00:00 2026-06-03T09:37:47+00:00

I am trying to re order the inner html table rows using Jquery.inner html

  • 0

I am trying to re order the inner html table rows using Jquery.inner html contains the nested tables . i need to reorder child table rows with in the child table and parent table rows reorder in the parent table itself

My table hierarchy is refer the following link http://jsfiddle.net/PcDPr/

i used nested table plugins also..nothing is helping much..i didn’t get expected results.

I would appreciate any help.

  • 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-06-03T09:37:49+00:00Added an answer on June 3, 2026 at 9:37 am

    Hiya sample demo here: http://jsfiddle.net/T4Vh4/

    To start with you are missing <th> tags in your example. I am given you a working sample so that you can compare your implementation of table sorter with the demo. :))

    Please let me know if this is what you are looking for!

    Good read: http://tablesorter.com/docs/

    Hope this helps and have a nice one, d’uh don’t forget to accept the answer if this helps :)!

    HTML

    <table class="tablesorter">
        <thead>
            <tr>
                <th>Make</th>
                <th>Model</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Honda</td>
                <td>Accord</td>
            </tr>
            <tr class="expand-child">
                <td colspan="2" style="padding: 0 30px 0 30px;">
                    <table class="tablesorter-child">
                        <thead>
                            <tr>
                                <th>Doors</th>
                                <th>Colors</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>Honda 2-Door</td>
                                <td>Honda Red</td>
                            </tr>
                            <tr>
                                <td>Honda 4-Door</td>
                                <td>Honda Blue</td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td>Toyota</td>
                <td>Camry</td>
            </tr>
            <tr class="expand-child">
                <td colspan="2" style="padding: 0 30px 0 30px;">
                    <table class="tablesorter-child">
                        <thead>
                            <tr>
                                <th>Doors</th>
                                <th>Colors</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>Toyota 2-Door</td>
                                <td>Toyota Yellow</td>
                            </tr>
                            <tr>
                                <td>Toyota 4-Door</td>
                                <td>Toyota Green</td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    ​
    

    Jquery code

    $(document).ready(function() 
    { 
        $("table").tablesorter({selectorHeaders: '> thead > tr > th'}); 
    });
    
    ​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to query all rows of a parts table even if their
Alright, I'm trying to link three different tables (Customers, Orders, and Order Details), in
I'm trying order a Linq to NHibernate query by the sum of it's children.
I'm trying to order the results of the get_list_or_404 method get_list_or_404(...).order_by('name') doesn't seem to
I have a strange problem, I am trying to order the output of a
I'm trying to test an Order entity method called AddItem and I'm trying to
I'm trying to use the DataAnnotationsModelBinder in order to use data annotations for server-side
So i am trying to do this Order.find :all, :conditions => org = 'test
I am trying to have the collection of order IDs be used in my
I am trying to use IO.popen in order to put (with .puts method) and

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.