Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35272

How to get (original) column index of column clicked after ColReorder

$
0
0

Hello.

http://jsfiddle.net/b8xn0j12/21/

Works fine if the columns remain in the same order.
If we use ColReorder and the user moves the columns around, then this code reports different (index) values for the (same) column selected.
How can I uniquely determine when the user clicks on a column which (original) index this column originally had (before the user moved it around).

Many thanks in Advance.


Viewing all articles
Browse latest Browse all 35272

Trending Articles