align center datatables code example
Example: datatables columns align
dt-right - Right align text in the header and body.
dt-head-right - Right align text in the header only
dt-body-right - Right align text in the body only.
$('#myTable').DataTable( {
columnDefs: [
{
targets: -1,
className: 'dt-body-right'
}
]
} );