disable ordering for users disables default order

disable ordering for users disables default order

ms1351ms1351 Posts: 1Questions: 1Answers: 0
edited January 2015 in Free community support

Hi,
Sorry for asking what is probably a very basic question but I can't find the answer. I use client-side Datatables and need to sort on columns without being sortable by a user. If I use "ordering" as false, "order" and "orderFixed" are not applied.

var table = $('#example').DataTable({
"ordering": false,
"order": [[0,'asc'],[1,'desc']]
});

This discussion has been closed.