Pagination with Spring Boot JPA and Frontend on JS | Simple Example

preview_player
Показать описание
Simple Pagination example with Spring Boot Data JPA and pure Javascript.
Рекомендации по теме
Комментарии
Автор

Thank you very much for this video!! How can I create pagination by category_id?

nenad
Автор

hello sir thanks for this tutorial.
just wana to ask how to add maxsize pagenation number
because if we have alot of data the number will increase
do you have any solution
i want do the same exemple in angular
without using any extansion ...just i have problem with the size of pagination items
can you help

teckinfodz
Автор

Thank u. how to filter in each column?

zenhsuld
Автор

I can make this a lot simpler. Just add a Spring pageable to the @GetMapping parameters. In swagger it looks like this:
{
"page": 0,
"size": 5,
"sort": [
"status, desc",
"created, desc"
]
}

On the URL it looks like this:

curl -X 'GET' \
-H 'accept: */*'

MegaFlipWilson
welcome to shbcf.ru