Broken sorting when using ColReorder with column control 'order' button

Broken sorting when using ColReorder with column control 'order' button

OpieOpie Posts: 1Questions: 1Answers: 0

Link to test case: https://datatables.net/extensions/columncontrol/examples/colReorder/dragButton.html
Debugger code (debug.datatables.net): none
Error messages shown: none
Description of problem: when reordering columns wether with colReorder or with column control's reorder button the sorting is broken. It continues to sort the original column of that position. This can be seen on your example just reorder a column then try to sort it.

Answers

  • allanallan Posts: 64,552Questions: 1Answers: 10,670 Site admin

    Thanks for pointing that out! I should be able to fix that this afternoon. I'll post back when done.

    Allan

  • allanallan Posts: 64,552Questions: 1Answers: 10,670 Site admin
    edited June 4

    Edit - was replying to another thread in here, sorry. Removed defunct comment.

  • allanallan Posts: 64,552Questions: 1Answers: 10,670 Site admin

    I've committed this change to ColumnControl and this one to DataTables core to address the issue. I'll release both at the same time before the end of the week.

    Allan

Sign In or Register to comment.