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
"aoColumnDefs" : [ { 'bSortable' : false, 'aTargets' : [ 0 ] }]
Here 0 is the index of the column, if you want multiple columns to be not sorted, mention column index values seperated by comma(,)
0
comma(,)