May I format display numberr to #,###.## ?

May I format display numberr to #,###.## ?

alozaloz Posts: 2Questions: 0Answers: 0
edited May 2011 in General
Hi all,

May I format display number to #,###.##, and Percentages to ##.##%, and will not affect the sort results??
(Maybe can align "Right"?)

Replies

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    You can use fnRender ( http://datatables.net/usage/columns#fnRender ) to format the numbers as you wish, and set bUseRendered ( http://datatables.net/usage/columns#bUseRendered ) to false so that sorting and filtering is done on the original data, not the rendered data.

    Allan
This discussion has been closed.