orderFixed post reorder failing to update class
orderFixed post reorder failing to update class
orderFixed: {
post: [1,'asc']
}
When you click on a column that has orderFixed on it, it will allow you to change it between asc and desc, but the icon to indicate which direction it is ordering on fails to update, instead constantly showing the order direction of the orderFixed, despite the data showing in the users altered direction.
See http://live.datatables.net/xigadiqi/1/edit for example
When clicking on the "Position" column in that example I would expect the arrow to switch between asc/desc depending on the used order, rather than sticking to asc.
Answers
I presume this will need a change to the actual handling of orderFixed by datatables to check if there is already an order on the column? Don't think there is a way to easily do it externally to datatables.
Bump. I have the exact same problem.
Hi @zitibizo and @JammySlayer ,
This is currently in the backlog - I'll report back here when it's addressed though can't say when unfortunately.
This here is a workaround that may work for you - it's manually flipping the class whenever the order is changed. Hope that does the trick in the meantime,
Cheers,
Colin
Thank you Colin! I'll make do with the workaround for now.
Looking forward to the fix.