Commit 43d28b0a by Ari Agung Prasetiyo Committed by pbbm2

2 digit untuk kolom %

1 parent 6d9048b6
......@@ -530,7 +530,8 @@
"columnDefs": [
{ className: 'text-center', width: "50px", targets: [0] },
{ className: 'text-left', targets: [1] },
{ className: 'text-right', width: "100px", target:0, targets: [2, 3, 4, 5], render: $.fn.dataTable.render.number('.', ',', 0, '') },
{ className: 'text-right', width: "100px", target:0, targets: [2, 3, 4], render: $.fn.dataTable.render.number('.', ',', 0, '') },
{ className: 'text-right', width: "100px", target:0, targets: [5], render: $.fn.dataTable.render.number('.', ',', 2, '') }
]
}
);
......
......@@ -424,7 +424,8 @@
"columnDefs": [
{ className: 'text-center', width: "50px", targets: [0] },
{ className: 'text-left', targets: [1] },
{ className: 'text-right', width: "100px", targets: [2, 3, 4, 5], render: $.fn.dataTable.render.number('.', ',', 0, '')}
{ className: 'text-right', width: "100px", targets: [2, 3, 4], render: $.fn.dataTable.render.number('.', ',', 0, '')},
{ className: 'text-right', width: "100px", targets: [5], render: $.fn.dataTable.render.number('.', ',', 2, '')},
]
}
);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!