colReorder extension

colReorder extension

kurkelakurkela Posts: 2Questions: 0Answers: 0

There are some issues.

In example:
https://datatables.net/extensions/colreorder/examples/integration/colvis.html

  1. Hide a column, eg. "Office".
  2. Change a column position, eq. "Start date" before "Age".
  3. Try showing that hidden column again / hiding another column

In example:
https://datatables.net/extensions/colreorder/examples/initialisation/simple.html

  1. Open console, issue: $.fn.DataTable.Api('#example').colReorder.move(0,1)
  2. Try dragging "Name" to original place (dragged header will show "Position" and it will not work)

Replies

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @kurkela ,

    The first issue is reported here.

    The second issue is unreported. I've raised it (DD-854) and will report back here when it's progressed. As a workaround, calling draw() after the colReorder.move() appears to resolve it.

    Cheers,

    Colin

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @kurkela ,

    We will be releasing today, and this fix will be present.

    Cheers,

    Colin

This discussion has been closed.