disable initial sorting

disable initial sorting

nitinkabranitinkabra Posts: 1Questions: 0Answers: 0
edited December 2013 in DataTables 1.9
I am using datatables for user input in which i am inserting new rows.

Following is my code :

$('#invoice-content-table').dataTable({
"bPaginate": false,
"sScrollY": "150px",
"bPaginate": false,
"bLengthChange": false,
"bFilter": false,
"bSort": false,
"bInfo": false,
"bAutoWidth": false,
"aaSorting": [],
"bDestroy":true,
"aoColumns": [
{ "sWidth": "170px", "bSortable": false,"asSorting":[] },
{ "sWidth": "30px", "bSortable": false, "asSorting": [] },
{ "sWidth": "30px", "bSortable": false, "asSorting": [] },
{ "sWidth": "40px", "bSortable": false, "asSorting": [] },
{ "sWidth": "25px", "bSortable": false, "asSorting": [] },
{ "sWidth": "25px", "bSortable": false, "asSorting": [] },
{ "sWidth": "25px", "bSortable": false, "asSorting": [] },
{ "sWidth": "25px", "bSortable": false, "asSorting": [] },
{ "sWidth": "25px", "bSortable": false, "asSorting": [] },
{ "sWidth": "30px", "bSortable": false, "asSorting": [] },
{ "sWidth": "50px", "bSortable": false, "asSorting": [] }

]
});

The issue is whenever is insert new row, it gets sorted by default. I have tried setting
aaSorting : [] , but still no luck. How to disable it permanently ?
This discussion has been closed.