i18n translation for N "rows selected"
i18n translation for N "rows selected"
nemcuon
Posts: 16Questions: 6Answers: 1
Hi all,
Your provided list http://legacy.datatables.net/usage/i18n only lists the basic text and placeholders. However I want to have the placeholder for a plugin named "Select" that is demoed at https://datatables.net/extensions/select/examples/api/select.html.
Whenever the number of selected rows is changed, the text N "rows selected" at the footer is also updated. How can I have the placeholder of this "rows selected" ???
Thanks
This question has accepted answers - jump to:
This discussion has been closed.
Answers
I've found it
https://datatables.net/reference/option/language.select.rows
language: {
select: {
rows: "%d rows selected"
}
},
Hi,
Thanks for posting back. You are correct,
language.select.rows
is the way to do this.Allan
Or if one wants to be more extensive
(Source: https://datatables.net/extensions/select/examples/initialisation/i18n.html)