• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

Sort data in ASC/DESC order on the view

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
vinay_delhi
Asked:
vinay_delhi
  • 2
  • 2
2 Solutions
 
tomboshellCommented:
0
 
tomboshellCommented:
Whoops!  I see that I got beaten on the draw.
0
 
CEHJCommented:
:-)
0
 
objectsCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now