Spring MVC + Spring Date Pagination

Asked

Viewed 1,177 times

1

Good morning guys all ? I’m not having a problem in itself, just something I want to optimize. I’m using Spring MVC with Spring Data, to make the results pagination, I’m using Pageable inside my repository. My problem is in the front-end, let’s say I have 100 pages, the pagination breaks, IE, it does not follow in the same line. Wanted something like this, using spring mvc paging.

As I click on the buttons they are rendered.

2 answers

1

0


When you use Pageable in Spring Data, you pass the amount of results you want to return per page, I believe your frontend problem is solved with your paging by returning the same number of records per page...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.