jquery datatable format decimal column

This is perfect solution

1
2
3
4
{
    data: 'price',
    render: $.fn.dataTable.render.number( ',', '.', 2 )
}
Advertisements