Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
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
I agree. Here's the link:
subject: Implementing Sorting with Pagination in Spring MVC
jgrid - Spring MVC CRUD operation with pagination and without page refresh
Paging and Sorting in JSF
How to do Paging
[Spring Web Flow 2] Can Spring Web Flow work with Spring Web MVC?
What is the difference between static vs dynamic in SQLJ
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014