Change sInfo Text
Change sInfo Text
some_coder
Posts: 4Questions: 0Answers: 0
Hi. Using the default settings (with pagination=true and bInfo=true) there is a infotext like "Showing 26 to 51 of 500 entries" at the end of the tables. Is there a way to show the current page instead of the item count? For example i want do display "showing page 1/7" or "showing page 6/7" instead of "showing x to y" entries.
I already found the oLanguage.sInfo (with _START_, _END_ and _TOTAL_) options but i wasn't able to determine the placeholders for the current and total page.
I already found the oLanguage.sInfo (with _START_, _END_ and _TOTAL_) options but i wasn't able to determine the placeholders for the current and total page.
This discussion has been closed.
Replies
You can grab it here: https://github.com/DataTables/DataTables/tree/1_10_wip/media/js
Allan
But i was able to use some code from the existing dataTables codebase to implement this feature in 1.8.1.
Great to hear :-)
Allan