This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes How to refresh the page once sorting is done? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How to refresh the page once sorting is done?" Watch "How to refresh the page once sorting is done?" New topic
Author

How to refresh the page once sorting is done?

antsi klando
Ranch Hand

Joined: May 10, 2011
Posts: 46
I am having a JSP which uses a <display:table> and a 'Search' button.I have given the <display table> attribute defaultsort="1" and the <display:column> attribute sortable="true" for all the columns in the table.

The user will be able to view a table sorted for the first column,once the 'Search' button is clicked.If any other column is sorted,and again if the 'Search' button is clicked,the default sort will be in the column which was last sorted before clicking on the 'Search' button.

How exactly can I have control over this?
 
GeeCON Prague 2014
 
subject: How to refresh the page once sorting is done?