Fix info text if pagination is off
Fix info text if pagination is off
Right now, the info text seems to show text in pagination mode even when pagination is off: "Showing 1 to 57 of 57 entries."
DataTables should be smart enough to detect when pagination is off and display "Showing 57 entries" instead.
DataTables should be smart enough to detect when pagination is off and display "Showing 57 entries" instead.
This discussion has been closed.
Replies
It's a fair point and this can be done using the language options DataTables provides :-). The default is "Showing _START_ to _END_ of _TOTAL_ entries". So you could change it to "Showing _TOTAL_ entries" to achieve what you are looking for: http://datatables.net/usage/i18n#oLanguage.sInfo
Regards,
Allan