File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 41839
    
  63
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Table sorting using javascript