josecebe / twbs-pagination

jQuery pagination plugin (bootstrap powered)
http://josecebe.github.io/twbs-pagination/
Other
1.1k stars 401 forks source link

How to display total row numbers? #157

Open liushoukai opened 7 years ago

liushoukai commented 7 years ago

How to display total row numbers? I hope that it can provide some thing like "Showing 1 to 10 of 1123 entries".

josecebe commented 6 years ago

Well, the plugin is not provided of a number of entries, or a number of entries by page. So, what you says needs to be done by you manually (maybe using the methods 'getCurrentPage' and 'getTotalPages').

A good feature request, could be add the possibility to create the paginator by a total entries number and how many entries by page. In this way, will be easier to make what you are requesting.

kirasiris commented 5 years ago

has anyone solved this?

Trzinka commented 5 years ago

Hi.

I've been dealing for quite some time to solve this problem. I found the following, if anyone is interested!

https://codepen.io/robert-peri/pen/zyPpyX

or

https://luis-almeida.github.io/jPages/

BR. Robert

Trzinka commented 5 years ago

Hi.

I've been dealing for quite some time to solve this problem. I found the following, if anyone is interested!

https://codepen.io/robert-peri/pen/zyPpyX

or

https://luis-almeida.github.io/jPages/

BR. Robert

Od: "Kevin Uriel Fonseca" notifications@github.com Za: "josecebe/twbs-pagination" twbs-pagination@noreply.github.com Cc: "Subscribed" subscribed@noreply.github.com Poslano: Nedelja, 13. Januar 2019 09:57:18 Zadeva: Re: [josecebe/twbs-pagination] How to display total row numbers? (#157)

has anyone solved this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub , or mute the thread .

kirasiris commented 5 years ago

Exactly what I needed, thanks dude!