S
S
string152018-02-21 17:17:16
JavaScript
string15, 2018-02-21 17:17:16

Client side pagination?

Hey!
Plz tell me how to implement it correctly?
To display a table with data: data must be displayed page by page, with a maximum of 50 items per page. You need to provide custom navigation to navigate through pages.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikita Kit, 2018-02-21
@ShadowOfCasper

Recently in one project it was required. At first I looked at datatables, but there is a lot of code and dependencies. And all I needed was pagination. In short, I wrote my own , but the API has not yet been dealt with. You can take the code and modify

K
kreotech, 2018-02-21
@kreotech

Maybe this option is suitable for a megatable: pagination.js.org
UPD: I also found an article, it may come in handy https://habrahabr.ru/post/330656/

A
Archakov Dennis, 2018-02-21
@archakov06

https://github.com/AdeleD/react-paginate

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question