fooplugins / FooTable

jQuery plugin to make HTML tables responsive
https://fooplugins.com/plugins/footable-jquery/
Other
2.13k stars 637 forks source link

Synchronized pagination elements #776

Open willneumann opened 6 years ago

willneumann commented 6 years ago

Is there a way to have the pagination show up above and below the table, meaning in two places at once?

I'm specifying my container with data-paging-container=".mypagination" and I'm using <ul class="mypagination"></ul> above and below the footable, but the pagination only shows up in the first container (even though I'd expect it otherwise).

RambosRide commented 6 years ago

Unfortunately not in the current version, although it sure would be a nice Add on :)

If you're up to it you can clone the pager, and place the clone where you wish, but be warned you also need to write code that syncs the pagination visible and active items correctly between the clone and the original when navigating.

That's what I did as I basically wrote my own html wrapper, cloned the pager and only display the top one when I decide its needed.

willneumann commented 6 years ago

Would you be available for hire to code this for me? My email is wneumann@willneumann.com. Let me know.

RambosRide commented 6 years ago

Sorry for very late reply - no, trying to start a new business don't have time.