OdinaSpb / jstree

Automatically exported from code.google.com/p/jstree
0 stars 0 forks source link

Create inputs element for each node #1021

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

First, thanks for this plugin, it's really nice to have created it and to 
maintain it until now.

So basically, i need to create an input element for each node on the creation 
of the tree and i don't knowhow to di it.

I load my tree from php. I tried events like created_node and load_node, 
without success.

Anyone can help me?

Here is my code:

        $('#tree').jstree({
            'core' : {
                'data' : {
                    'url' : 'tree.php',
                    'dataType': 'JSON',
                    'data' : function (node) {
                        return { 'id' : node.id };
                    }
                },
            }
        });
Thanks

Original issue reported on code.google.com by am.ma...@gmail.com on 26 May 2014 at 12:59