How to add thousand separator in my table which show report

How to add thousand separator in my table which show report

abyaby Posts: 3Questions: 1Answers: 0
edited March 2014 in General
i am new to datatable,i have numbered values in it i need to add thousand separator in it i try adding
"oLanguage": {
"sInfoThousands": ","
},
it is not making any changes
please help me

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    DataTables does not format the numbers automatically for you. If you want to do that, use the mRender option and format the number as required.

    The `sInfoThousands` option is only used for the numbers that DataTables directly controls - i.e. those in the paging information section.

    Allan
This discussion has been closed.