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


Win a copy of Java 8 in Action this week in the Java 8 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: 39576
    
  27
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 - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Table sorting using javascript
 
Similar Threads
Sorting the JTable
call a method in portlet action class from javascript function
Drag column header, Then all data in this column should be dragged
GWT slowness problem
Hiding group of rows depending on dropdown list