TableTools and ColReorder - compatible with each other?
TableTools and ColReorder - compatible with each other?
trioptikmal
Posts: 4Questions: 0Answers: 0
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.
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.
This discussion has been closed.
Replies
http://live.datatables.net/asacoh/13/edit#preview
Difference being the reorder actually works after existing from print mode.
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.