twbs-pagination icon indicating copy to clipboard operation
twbs-pagination copied to clipboard

How to display total row numbers?

Open liushoukai opened this issue 7 years ago • 5 comments

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

liushoukai avatar Apr 20 '17 06:04 liushoukai

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.

josecebe avatar Jul 24 '18 17:07 josecebe

has anyone solved this?

kirasiris avatar Jan 13 '19 08:01 kirasiris

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 avatar Jan 13 '19 09:01 Trzinka

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" [email protected] Za: "josecebe/twbs-pagination" [email protected] Cc: "Subscribed" [email protected] 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 .

Trzinka avatar Jan 13 '19 09:01 Trzinka

Exactly what I needed, thanks dude!

kirasiris avatar Jan 13 '19 17:01 kirasiris