nestedSortable icon indicating copy to clipboard operation
nestedSortable copied to clipboard

Save position

Open sandylusares opened this issue 12 years ago • 4 comments

How can I save position after refresh?

sandylusares avatar Sep 20 '13 19:09 sandylusares

By using a DB or Session:

$('.dd').nestable({
     /* Config */
}).on('change', function(){ 
    console.log($('.dd').nestable('serialize'));

    /* AJAX */
});

Just adding here for people who might come through Google (as I did).

Gataquadrada avatar Jan 15 '16 09:01 Gataquadrada

Uncaught TypeError: $(...).nestable is not a function

It gives me this error not working for me

mitulparmar21696 avatar Jul 16 '18 10:07 mitulparmar21696

Either you don't have nestedSortable or jQuery (probably this one).

Gataquadrada avatar Jul 16 '18 16:07 Gataquadrada

Also, this plugin is abandoned. You should use this version.

Gataquadrada avatar Jul 16 '18 16:07 Gataquadrada