Using column-reorder with multiple tables
Using column-reorder with multiple tables
bmurphey
Posts: 2Questions: 1Answers: 0
I am displaying multiple tables within a page. I am using ColReorder on all of them. In order to use "column-reorder", since a table id is required, I am having to generate multiple javascript functions (one for each table). I was wondering if there is a way to detect a column reorder event on any of the tables, regardless of id, then pick up the id based on the event target.
Thanks -
-Brian
This discussion has been closed.
Answers
OK - found the answer here: http://m.datatables.net/reference/event/
And just listen by the table class instead of id.