toggle column fixed sort
toggle column fixed sort
benjaminbaldoni
Posts: 11Questions: 3Answers: 1
Hello, I have a datatable with row-grouping and I have fixed (via aaSortingFixed) the group-column (asc) and it's working fine, but I also want to be able to fix-sort it in desc order when I click on it.
I would need something like a aaSortingFixed toggle between [[0, 'asc']] and [[0, 'desc']], can this be made?
Thanks in advance.
This discussion has been closed.
Answers
Anyone?
I wonder why I get no response... I'm not being clear?
OK, the answer is oTable.fnSettings().aaSortingFixed[0][1] = "desc"