Want to align center just the first column called \"Status\":
$(\"#TransactionTable\").DataTable({ ajax: { url: \'/Transactio
You can also specify a single css class name inside each column object.
In your case:
{ data: 'Status', render: function (data, type, row) { switch (data) { case 1: return ''; case 2: return ''; case 3: return ''; } }, className: "text-center" }