Hi, I have a field named "payment" in my database is type float,
In the datatable only show the number like this: 4567.56 I would like set a mask to show like this: $4,567.56 how I can do it?
Checkout this page:
You will want to use columns.render.
Thank you, I resolved it using this:
render: $.fn.dataTable.render.number( ',', '.', 2, '$' )
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.