colReorder's API sequence of fnOrder
colReorder's API sequence of fnOrder

http://live.datatables.net/lekuzis/4/edit
Final order of calling this sequence of fnOrder
:
colReorder.fnReset();
colReorder.fnOrder([0,1,2,4,3,5])
colReorder.fnOrder([0,1,4,2,3,5])
(that is - move 4th column one step left, twice)
Will result in final order being
[0, 1, 3, 2, 4, 5]
The first call gives expected result (the column is moved one step left), it's the second that screws up the order.
Delay between calling fnOrders isn't a factor.
My temporary solution is to call fnReset()
before every call of fnOrder()
, but it performs poorly on some browsers.
PS. I wanted to post it as a bug report, but have no idea how.