how to set particular column aline canter in datatables in laravel code example
Example: server side datatable text center
'columnDefs': [
{
"targets": 0, // your case first column
"className": "text-center",
"width": "4%"
},
{
"targets": 2,
"className": "text-right",
}],