Link to home
Start Free TrialLog in
Avatar of lcor
lcor

asked on

Display Tag JSP Sorting Issue

I'm using the JSP Display tag library (website is http://displaytag.sourceforge.net/1.2/). I have pagesize set to 30.  I have a total of 280 records.  Therefore, the tables displayed have pagination (Next page, first, previous, 1, 2, 3, etc.).  I have sorting enabled.  The problem is that sorting is performed on a per page basis.  

One of the users  would like to see sorting on ALL records WITH pagination.  That is sort all records when click on column.  When click Next page, sorting order is maintained.

Any ideas from Display Tag users?
ASKER CERTIFIED SOLUTION
Avatar of kadaba
kadaba
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
sort all the records using SQL and then select required records using ROWNUM in oracle
Avatar of lcor
lcor

ASKER

this solution works!