ColReorder Events?
ColReorder Events?
I was looking at the ColReorder extension: http://datatables.net/extensions/colreorder/examples/initialisation/simple.html
I was wondering, is there any way to add some events or function hooks into it? so once a column is re-ordered, it will execute a function with some data?
I looked at the examples, and unless I missed something, I didnt see any way to do it. The ServerSide processing just orders them based on an ajax result, not make an ajax query based on an event
This question has an accepted answers - jump to answer
Answers
There is a
column-reorder
event that you can listen for. It will tell you some information about the reordered columns as well.The full list of events in DataTables and its extensions are available here.
Allan
I figured there was something, just couldnt find it. Thanks!