| Author |
Implementing Sorting with Pagination in Spring MVC
|
shwetank sharma
Greenhorn
Joined: Jan 09, 2011
Posts: 10
|
|
Hi,
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.
|
~~Cheers~~
Shwetank
|
 |
Bill Gorder
Bartender
Joined: Mar 07, 2010
Posts: 1282
|
|
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]
|
 |
 |
|
|
subject: Implementing Sorting with Pagination in Spring MVC
|
|
|