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
Solved

Sort data in ASC/DESC order on the view

Posted on 2003-10-22
5
240 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
web application structure 18 99
jsp login check 12 42
String array comparison 4 38
maven disable workspace resolution 1 21
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This video teaches viewers about errors in exception handling.

840 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