B
B
Biaci_Anj2022-01-18 16:18:48
Java
Biaci_Anj, 2022-01-18 16:18:48

Spring Boot, table with sorting, filtering, pagination, how to implement it?

I spent a good day searching and did not find it, I will be extremely grateful for the help.
I found an option only with DataTables CDN, but there is no access to the database during pagination, but I would very much like to.
Because I'm doing a test job on the backend.

I'm just learning and please be tolerant of such a stupid question :(

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Orkhan, 2022-01-18
@Biaci_Anj

Good afternoon.

I'm just learning and please be tolerant of such a stupid question :(

normal question)
I found an option only with DataTables CDN, but there is no access to the database

Well, firstly, it is Datatables that I will advise you.
And secondly, if you take a good look at the documentation, you will find
https://datatables.net/manual/server-side
https://datatables.net/examples/data_sources/serve...
The example in the second link shows pagination with by contacting the server
And, of course, a ready-made lib for Spring Boot to work with DataTables
https://github.com/darrachequesne/spring-data-jpa-...

Z
Zhbert, 2022-01-18
@Zhbert

What is a "table with sorting, filtering, pagination"?

B
Biaci_Anj, 2022-01-18
@Biaci_Anj

0*-zhPr1ukZOyJdPUt.png
As an example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question