superRaytin / paginationjs

A jQuery plugin to provide simple yet fully customisable pagination.
http://pagination.js.org
MIT License
912 stars 659 forks source link

Add first and last pagination links #17

Closed mandaliya closed 7 years ago

mandaliya commented 8 years ago

Is it possible to add first and last page links in pagination?

superRaytin commented 8 years ago

Nope, it sounds weird... could you tell me why you want to do this?

guoxiangwen commented 8 years ago

hello guy, if i want to genarate page info from api which like [totalElement:123,totalPage:13,content:.....] ,but in your case,the dataSource param can not do this

guoxiangwen commented 8 years ago

when ajax url datasourse, how can i know the totalNumber? the totalNumber is return by the url

superRaytin commented 8 years ago

@guoxiangwen trace on: #3 #2

mandaliya commented 8 years ago

I wanted to add two more buttons in pagination. One for first page and second for last page. Is it possible.?

But, I realized that first page and last page is always visible, so there is no need for this.