ColReorder with ColVis bug

ColReorder with ColVis bug

micketmicket Posts: 2Questions: 0Answers: 0
edited June 2011 in Bug reports
I found a bug in the example table where ColReorder is used with Colvis:

http://www.datatables.net/release-datatables/extras/ColReorder/colvis.html

When you do the following you see that the column headers do not match with the column content:

Drag the column "Platforms(s)" between the columns "Engine version" and " CSS grade".
Click on the Show/Hide button and deselect "Rendering Engine".
After that you see that the column headers are not in the right order anymore.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi micket,

    That's a very good call - thanks for letting me know about this! The issue is basically that in DataTables 1.8 there is an entirely new method for drawing the header and footer in order to allow full support for complex headers in DataTables core, and I hadn't updated ColReorder for this... I have just done so and the change is in the "nightly", available on the downloads page (v.1.0.2.dev): http://datatables.net/download/ . I've also added a note to the upgrade notes for DataTables 1.8, and I'll get a new release of ColReorder out soon.

    Regards,
    Allan
This discussion has been closed.