I am using the jQuery DataTables plugin to sort the table fields. My question is: how do I disable sorting for a particular column? I have tried with the following code, but
To make a first column sorting disable, try with the below code in datatables jquery. The null represents the sorting enable here.
$('#example').dataTable( { "aoColumns": [ { "bSortable": false }, null, null, null ] } );
Disable Sorting on a Column in jQuery Datatables