Solved

Sort data in ASC/DESC order on the view

Posted on 2003-10-22
5
246 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HashTable highest marks enumeration alternative 9 47
going to wrong jsp page 2 46
Netbeans and org.apache.commons.lang3 issue 3 22
Java array 21 79
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

740 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