How to disable move in jsTree 1.0 but not disable dnd plugin?
Thanks.
I have found a solution.
$("#tree").jstree({ //... "crrm" : { "move" : { "check_move" : function (m) { return false; } } } //... "plugins" : [ "crrm", "dnd" ] });
"crrm" : { "move" : { "check_move" : function (m) { if(m.cr.attr("id") == mrattr("id")){ return true; }else{ return false; } } } }
Source: https://habr.com/ru/post/1314781/More articles:Create text documents from excel file using merge - vbaMore about the mediator template and OO design - c ++EDI Message X12 Version 4010 - Can Compound Elements Contain a Subelement Separator Character? - ediAs an enumeration, but for objects - c #The stat () function does not seem to work in the PAM test module - cHow to check if a window has focus? - javascriptWhen do we need to โrequire rubigemsโ? - ruby โโ| fooobar.comget JSON array as argument in web service - jsonhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1314785/customizing-emacs-to-dim-or-de-highlight-one-liners-in-code&usg=ALkJrhiep_ONE1cNJhM86hBfU0YvBaqhSQHow can I now support iOS 3.1.2 users that I upgraded to Xcode 3.2.3? - iphoneAll Articles