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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -