How to change number to different language?
How to change number to different language?
zotappwloa1
Posts: 2Questions: 1Answers: 0
Currently I am using option "language" to change pagination language like in picture.
Problem is I also need to change the number. Right now it's in English numeric form. I like to change that in different language. Can u guys give me some suggestion to solve that problem.
This question has an accepted answers - jump to answer
Answers
I don't think that this is covered by Data Tables's i18n functionality.
I guess you will need to manipulate this using jQuery.
The "draw" event handler is probably best.
Then select that stuff below in the pic and change it to your different number format depending on data-dt-index for example.
I was thinking the same thing, using jquery after render.
I will do that thank you cheers