Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Daniel Bardi 924 posts 2556 karma points
    Feb 12, 2011 @ 14:31
    Daniel Bardi
    0

    Tree Events ?

    Are there events associted with the jquery tree?

    Examples:  OnExpanded, OnCollapsed, OnLoad, etc...

     

  • Richard Soeteman 3875 posts 12037 karma points MVP
    Feb 13, 2011 @ 07:44
    Richard Soeteman
    0

    Serverside you can get to the render method BaseTree.AfterNodeRender which gets hit when the tree is rendered. Don't know about client events

    http://www.richardsoeteman.net/PermaLink,guid,f470b6cf-40da-4aa9-a0d9-7b984fe9bf59.aspx 

  • Tim 1193 posts 2655 karma points c-trib
    Feb 14, 2011 @ 17:18
    Tim
    0

    I think it uses the JsTree jquery plugin from 4.1 onwards, so you should be able to use the events from the documentation (unless its been customised so they don't work).

  • Daniel Bardi 924 posts 2556 karma points
    Feb 14, 2011 @ 20:29
    Daniel Bardi
    0

    I found a work-around using the jquery.create plugin... It fires an event when dom elements are created... it is used with jquery .live()... 

    $('.selector').live('create', function(){...});

    I can see many uses for this plugin

    http://www.erichynds.com/jquery/jquery-create-event/

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies