Solved

Sort data in ASC/DESC order on the view

Posted on 2003-10-22
5
214 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
Comment Utility
0
 
LVL 7

Assisted Solution

by:tomboshell
tomboshell earned 37 total points
Comment Utility
0
 
LVL 7

Expert Comment

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

Expert Comment

by:CEHJ
Comment Utility
:-)
0
 
LVL 92

Expert Comment

by:objects
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now