This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Problem in Table sorting using javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem in Table sorting using javascript" Watch "Problem in Table sorting using javascript" New topic
Author

Problem in Table sorting using javascript

shalini vinay
Greenhorn

Joined: Jun 05, 2007
Posts: 3
HI All,

I want to sort the values in my table in ascending and descending alternatively. I have searched in many sites they given table sorting by clicking table header it changes all the column values dynamically. But i need my particular column values only should change without affecting my other column values. is it possible to do using javascript since i am very new to javascript.

Thanks in Advance
Shalini
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
Welcome to JavaRanch.

So you've found examples that sort all columns when a single column header is clicked - surely it can't be hard to change that to only sort a single column? Or am I misunderstanding what you're asking?


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem in Table sorting using javascript