How can I to update orderFixed after init?
How can I to update orderFixed after init?
eric.peterson
Posts: 3Questions: 2Answers: 0
http://live.datatables.net/lananepe/1/
When you land on the page the table is grouped by Column 2. I have orderFixed on column 2 so the rows end up static. If you select 'row2' from the dropdown it will swap the grouping rows on the fly and set it to column 1. I'd like to update the orderFixed to column 1 as well.
Is this possible?
This discussion has been closed.
Answers
Sorry, there is no option to modify that property after initialisation at the moment.
Allan
I was able to get around it. Instead of table.columns(2).visible(false).table.draw(); to simply show the table I initialized it again with dataTable().fnSettings().aaSortingFixed and set the order I wanted.