Rowreorder show up as undefined?
Rowreorder show up as undefined?
![martin1223345](https://secure.gravatar.com/avatar/92fa2bb2d2f9e738cf0a17cb4a27a0cf/?default=https%3A%2F%2Fvanillicon.com%2F92fa2bb2d2f9e738cf0a17cb4a27a0cf_200.png&rating=g&size=120)
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
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!