superRaytin / paginationjs

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

Is it possible to update data source? #77

Closed kavaghela closed 5 years ago

kavaghela commented 6 years ago

I want to update/refresh/reload data source after generating list view. Is it possible?

satyasaadhak commented 6 years ago

Yes, please. I'm deleting some elements in the pagination list, but when you go to and different page and come back to where you deleted that element the element reappears since it's there in the datasource. Is there any fix to this?

Defatul commented 5 years ago

For ajax

function draw(){ container.pagination('go', container.pagination('getSelectedPageNum')); }