jeffreydwalter / ColReorderWithResize

Column reordering and resizing plug-in for DataTables
http://www.datatables.net/
MIT License
42 stars 51 forks source link

Set _ColReorder_iOrigCol only once #22

Closed jurruh closed 5 years ago

jurruh commented 5 years ago

If the columns are dragged the _ColReorder_iOrigCol is gets updated, this makes that the values are resetted and the original value in _ColReorder_iOrigCol is lost.

This problem occured when using the StateSave functionality the ColReorder property of the state was always sequential like [1,2,3,4, etc].