javascript - How can I disable collapse in jstree plugin -


basically, trying is, want display content falls under same category in tree structure child-parent node instead of folder structure.

the solution found on https://github.com/vakata/jstree/issues/1101

(function ($, undefined) {     "use strict";     $.jstree.plugins.noclose = function () {         this.close_node = $.noop;     }; })(jquery);  $('#tree').jstree({     plugins : ["noclose", ... ],     ... }); 

Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -