A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Implementing Sorting with Pagination in Spring MVC
Joined: Jan 09, 2011
Aug 24, 2012 01:38:32
I want to implement paging and sorting on my Spring MVC application.
Paging I have easily achieved using PagedListHolder and working fine, now I need to implement sorting on each page and column.
Also the sorting need to be done on page not on complete list.
Restriction is that we cannot use Display Tag library.
Joined: Mar 07, 2010
Aug 25, 2012 12:23:33
PagedListHolder takes a SortDefinition. Create a new MutableSortDefinition if the one registered for you with default values is not suitable.
Then you can call doSort on the pagedListHolder.
How To Ask Questions
Read before you PM me
Don't get me started about those stupid
subject: Implementing Sorting with Pagination in Spring MVC
What is the difference between static vs dynamic in SQLJ
How to do Paging
[Spring Web Flow 2] Can Spring Web Flow work with Spring Web MVC?
Paging and Sorting in JSF
jgrid - Spring MVC CRUD operation with pagination and without page refresh
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014