How to set paging numbers format globally?

How to set paging numbers format globally?

jstuardojstuardo Posts: 78Questions: 30Answers: 0
edited September 6 in DataTables


I have developed a site which uses datatables everywhere. I am using $.fn.dataTable.render.number to format decimal numbers in columns, however, I have just realized that paging numbers are not formatted well.

For example, this paging text is shown:

Mostrando registros del 1 al 10 de un total de 14,870 registros

Look at the thousand separator of 14870. It is a comma but in this locale, correct should be a dot, this way, 14.870.

How can this be solved? perhaps adding some setting to the dataTables.[language].lang file?

This is DataTables 1.10


This question has an accepted answers - jump to answer


Sign In or Register to comment.