Hi all ,

I have to sort a table where few columns are dynamically generated .I searched the net and came out with sorttable.js included in my jsp file . then called this function in <body>onload event as initTables('id_of the table"); It was working out for me..
But with some issues
I have some columns which introduce the concept of hidden columns so when I try to hide it instead of hiding it just sorts..
Is there a way to not to sort the first row alone becoz my first row is the total amount.
I do have expand and collapse columns in my table I am not able to sort the parent row get sorted along with the child rows. I want the parent row to be static and only the child rows getting sorted ..

Please give your thoughts and concerns about this..

many thanks in advance

GK..

parent row <th> child row <td> or class='unsortable'
there were instructions included with the download for sorttable.js, if they are lost go to javascript.internet.com to get another copy of the instructions
can't be more specific I havent rework tables in a long time

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.