Solved

Sort data in ASC/DESC order on the view

Posted on 2003-10-22
5
233 Views
Last Modified: 2012-05-04
I am displaying data on front end afer retrieving from database. If I click on any of the column on the view, data of that col should get sorted in ascending order and hence data of rest of col should also change accordingly. Similarly when I click on the same col second time, it shouldm get sorted in reverse order. How can I do it ?Any inputs would be greatly appreciated.
0
Comment
Question by:vinay_delhi
  • 2
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 38 total points
ID: 9597177
0
 
LVL 7

Assisted Solution

by:tomboshell
tomboshell earned 37 total points
ID: 9597186
0
 
LVL 7

Expert Comment

by:tomboshell
ID: 9597204
Whoops!  I see that I got beaten on the draw.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 9597279
:-)
0
 
LVL 92

Expert Comment

by:objects
ID: 10181940
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Split between CEHJ and tomboshell

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

objects
EE Cleanup Volunteer
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
table example 4 29
tomcat not starting 6 45
Facing this issue for maven proxy setting 2 9
Java: anonymous class 4 17
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
The viewer will learn how to implement Singleton Design Pattern in Java.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question