CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

TypesPlugin

by l.restif » 22 Apr 2013 14:42

Hi,

how is it possible to define some new types?

Best regards?
l.restif
 
Posts: 8
Joined: 04 Apr 2013 15:24

by Jorge Sousa » 22 Apr 2013 15:37

Hello

New Types for TreeView Plugins?

only if the plugin gets updated with more.

Regards

cg
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by l.restif » 22 Apr 2013 16:28

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?
l.restif
 
Posts: 8
Joined: 04 Apr 2013 15:24

by Jorge Sousa » 22 Apr 2013 18:21

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
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQTreeView

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.