Spring MVC + Spring Data

1

Good morning, everyone? I do not have a problem in itself, just something I want to optimize. I am using Spring MVC with Spring Data, to perform pagination of results, I am doing using Pageable inside my repository. My problem is in the front end, let's say I have 100 pages, the page breaks, ie it does not follow in the same line. I wanted something like this, using the spring mvc paging.

As I go clicking the buttons they are rendered.

    
asked by anonymous 05.01.2017 / 11:30

2 answers

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 resolves with your paging returning even number of records per page ...

    
11.01.2017 / 12:53
1

Good afternoon!

In one of my projects I used this solution, all its documentation is in github: link

See if you can help.

    
07.04.2017 / 18:11