My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 88: Support for function to run after a lazy tree is initialized or a branch was loaded.
2 people starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  moo...@wwwendt.de
Closed:  Apr 2009


 
Reported by donka...@gmail.com, Apr 4, 2009
When loading a tree from an Ajax data source, it would be nice to specify a function within the tree 
initializer that would run once the data has been loaded and processed (e.g., activate a certain 
node in the tree programmatically).
Apr 4, 2009
Project Member #1 moo...@wwwendt.de
tree.initAjax() and node.appendAjax() should accept a callback funtion as an optional
argument.
This callback is called after the child nodes where loaded.
(Another use case would be re-binding events to the new nodes, to enable tooltips, etc .)

Could be named onSuccess (and onError?).
Status: Accepted
Owner: moo...@wwWendt.de
Labels: -Type-Defect Type-Enhancement Milestone-Release0.4.2
Apr 11, 2009
Project Member #2 moo...@wwwendt.de
node.appendAjax() and options.initAjax now support passing 'success' and 'error'
callbacks (r209)
Summary: Support for function to run after a lazy tree is initialized or a branch was loaded.
Status: Fixed
Apr 17, 2009
Project Member #3 moo...@wwwendt.de
 Issue 90  has been merged into this issue.
Jul 17, 2012
Project Member #4 moo...@wwwendt.de
considered verified
Status: Verified

Powered by Google Project Hosting