Rowreorder show up as undefined?
Rowreorder show up as undefined?

in RowReorder
Hey Guys,
I am trying out the reorder function. See my testcase.
live.datatables.net/betavico/3/edit
I tried to follow the instructions from this example. But I get undefined when executing. What am I missing here? I am trying to have my database updated with the new order.
https://datatables.net/extensions/rowreorder/examples/initialisation/events.html
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Since you are using objects you need to define
rowReorder.dataSrc
, like this example. Therow-reorder
docs explain the second parameter and states this:I updated your example to show this:
http://live.datatables.net/coxigeme/1/edit
Also I updated your CSS. You were missing a
>
causing the rowReoder.css to not load properly.Kevin
Thank you! That seems to do the trick!