TableTools and ColReorder - compatible with each other?

TableTools and ColReorder - compatible with each other?

trioptikmaltrioptikmal Posts: 4Questions: 0Answers: 0
edited January 2013 in TableTools
Hi,

Has anyone successfully integrated the two together? I am using TableTools primarily for the Print button, and initialized both plugins using "RT<"clear">lfrtip".

Reorder works like a charm, until I hit the print button. In print mode, reorder works exactly 1 time, then stops working. On exiting print mode, reorder no longer works until the entire table is redrawn.

I'm guessing it's due to binding/ unbinding, but had no luck going further.

Replies

  • trioptikmaltrioptikmal Posts: 4Questions: 0Answers: 0
    Here's a test case:

    http://live.datatables.net/asacoh/13/edit#preview

    Difference being the reorder actually works after existing from print mode.
  • trioptikmaltrioptikmal Posts: 4Questions: 0Answers: 0
    Ugh. I hate finding the solution after submitting a post.

    In any case, I narrowed down the issue to a combination of:

    1) TableTools
    2) ColReorderWithResize
    3) ScrollX

    After a couple of permutations, I realized that using the original ColReorder, as per my test case, doesn't face the same issue. Reordering continues to work after exiting from print mode.

    Hope it helps someone in future.
This discussion has been closed.