How to change options after init ?

How to change options after init ?

pauletienneypauletienney Posts: 2Questions: 0Answers: 0
edited January 2012 in General
Hello,

It seems simple but I did not find the solution.
How to change any option (eg : the default sorted col) after initialization ?

I tried
[code]
$('.adminDataTable').dataTable({
"aaSorting": [[ 1, "asc" ]]
});
[/code]

but it told me it can not reinitialize datatable.

Thank you for your help and for this great script.

Replies

  • pauletienneypauletienney Posts: 2Questions: 0Answers: 0
    My bad !!
    I found it on the API page on function fnSort.
    I guess i need one more coffee.
This discussion has been closed.