three dots (...) on pagination
three dots (...) on pagination
daniele50
Posts: 3Questions: 0Answers: 0
When paging is long 3 dots are shown, but after the next button:
Previous | 1 | 2 | 3 | 4 | 5 | 100 | Next | ... |
It should be like this:
Previous | 1 | 2 | 3 | 4 | 5 | ... | 100 | Next |
This discussion has been closed.
Replies
It appears to work okay for me: http://live.datatables.net/razixeti/1/edit . Can you please link to a test case (as required in the forum rules) showing the issue?
Allan
Sorry,
this is the link: http://www.orchestracinquanta.it/gtq2pub/
The
a
tags in your pagination display havefloat: left
on them for some reason which is what is causing the problem:.metro .dataTables_wrapper .dataTables_paginate .paginate_button
is the selector.Is this a theme that you downloaded from somewhere? It might be worth asking the author of the theme, if it wasn't yourself, why that was put in.
Allan
Yer, thisi is Metro UI CSS 2.0 theme (http://metroui.org.ua/).
I solved it by editing jquery.dataTables.js (already included in this theme) at line 13566:
now use this
container.append('<span class=\"paginate_button\">…</span>');
instead of
container.append('<span>…</span>');
Thanks for the support! :-)