Page 1 of 1

TypesPlugin

PostPosted: 22 Apr 2013 14:42
by l.restif
Hi,

how is it possible to define some new types?

Best regards?

Re: TypesPlugin

PostPosted: 22 Apr 2013 15:37
by Jorge Sousa
Hello

New Types for TreeView Plugins?

only if the plugin gets updated with more.

Regards

cg

Re: TypesPlugin

PostPosted: 22 Apr 2013 16:28
by l.restif
This is what we can do with jsTree:

Code: Select all
$("#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       });


Can we do this with JQTreeView?

Re: TypesPlugin

PostPosted: 22 Apr 2013 18:21
by Jorge Sousa
Hi again

Since this plugin is very complex and has mulltiple functions, we missed this property "types"

Will be implemented in next releases

Regards

cgdevtools