Dynamically disable sort for a column after Table has been rendered?

Dynamically disable sort for a column after Table has been rendered?

pipo75pipo75 Posts: 14Questions: 7Answers: 0
edited April 2015 in Free community support

I have a Datatable with a column that I want being sortable from external (not from click on header), so did that in initiation:

var table = $('#example').DataTable({
"data": source_dataTable,
"columnDefs": [... {"targets": 1, "orderable": false }, ...]
});

and i order dynamically from exetrnal like that:

table
.order([1, 'asc'])
.draw();

Unfortunately when i order from external, it display the arrow for sort column, so do you know how I can once again disable sort for that column?

This discussion has been closed.