pcirella / dynatree

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

Add tree method shortcuts widget methods #257

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Widget functions (e.g. $("#tree").bind(), .unbind(), enable(), .disable()) 
should be accessible as tree methods:

    tree.unbind();

This is more straight forward, considering dynatrees object oriented aproach.

For example in event handlers

    onKeypress(node, event){
        if(event.which == 13){
            node.tree.unbind();
        }
    }

Original issue reported on code.google.com by moo...@wwwendt.de on 26 Dec 2011 at 1:15

GoogleCodeExporter commented 9 years ago
This issue is addressed with Dynatree 2.0 ('fancytree')

Original comment by moo...@wwwendt.de on 7 Oct 2012 at 3:23

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 26 Jan 2013 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 6 Oct 2013 at 3:18