First of all THANK YOU for this wonderful library! :)
I use Nestable2 to create tree in my project. I need to refresh (rebuild) tree when it was updated by ajax. I used next code. It create tree correctly but I can't change (move) depth (level). How to fix this problem?
First of all THANK YOU for this wonderful library! :)
I use Nestable2 to create tree in my project. I need to refresh (rebuild) tree when it was updated by ajax. I used next code. It create tree correctly but I can't change (move) depth (level). How to fix this problem?
$('.dd').nestable('init').nestable({maxDepth: 6}).nestable('collapseAll');