How can I to update orderFixed after init?

How can I to update orderFixed after init?

eric.petersoneric.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?

Answers

  • allanallan Posts: 63,687Questions: 1Answers: 10,500 Site admin

    Sorry, there is no option to modify that property after initialisation at the moment.

    Allan

  • eric.petersoneric.peterson Posts: 3Questions: 2Answers: 0

    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.

This discussion has been closed.