TypesPlugin

Hi,
how is it possible to define some new types?
Best regards?
how is it possible to define some new types?
Best regards?
Welcome to the Official CGDevTools Support Community Forums.
https://www.cgdevtools.com/cgforum/
$("#demo1").jstree({
03 "types" : {
04 "valid_children" : [ "root" ],
05 "types" : {
06 "root" : {
07 "icon" : {
08 "image" : "http://static.jstree.com/v.1.0rc/_docs/_drive.png"
09 },
10 "valid_children" : [ "default" ],
11 "max_depth" : 2,
12 "hover_node" : false,
13 "select_node" : function () {return false;}
14 },
15 "default" : {
16 "valid_children" : [ "default" ]
17 }
18 }
19 },
20 "plugins" : ["themes","html_data","dnd","ui","types"]
21 });