ColReorder: wrong sorting after reorder columns

ColReorder: wrong sorting after reorder columns

tonicktonick Posts: 1Questions: 1Answers: 0

I am using lates Datatables and ColReorder plugin. Getting data from server-side.
When i change columns order, sorting works with old column id.
It seems old issue does not solved yet: https://datatables.net/forums/discussion/5363/colreorder-sorting-issue-shown-in-your-demo

Answers

  • allanallan Posts: 63,799Questions: 1Answers: 10,514 Site admin

    Does your server-side script take account of the fact that the columns have changed position and therefore their indexes will have changed?

    Allan

This discussion has been closed.