some help with column sort with checkbox

some help with column sort with checkbox

protomeprotome Posts: 25Questions: 11Answers: 1

hello,
I am having a problem with reordering a column with checkboxes, and I am looking for some pointers at where to look in my code.
what I do is in this jsfiddle (which works!) https://jsfiddle.net/prtome/c48jmu75/6/

but when i do the same thing in my code, the first column with checkboxes does not reorder. You can see in the fiddle (a commented) alert. The same in my code give the same results, so the function is correctly called. I must have something else that disturb.
The main difference is that I have colReorder (I could not make it work on the fiddle) and a colvis button (that again does not show in the fiddle). And of course the whole code has some more lines ;) When I take them out of my code nothing changes

If anybody has seen something similar once and could give me some hints at what I should be controlling/looking at , I will be very grateful.
Thanks a lot

This discussion has been closed.