Issue 342: How to use dynatree drag n drop with lazy loading technique.
Status:  WontFix
Owner: ----
Closed:  May 2014
Reported by SaqibHa...@gmail.com, Aug 8, 2012
How to use dynatree drag n drop with lazy loading technique. 
I am getting error when initializing tree with drag n drop.
Its because tree is not loaded yet due to lazy loading technique (an ajax call will populate the tree) and dynatree tries to initialize dnd (drag n drop methods) which is raising javascript error in jquery.ui.core at line 267.
Error: Microsoft JScript runtime error: '$.ui[...].prototype' is null or not an object
--------------------start - code from jquery.ui.core ------------------
// deprecated
$.extend( $.ui, {
	// $.ui.plugin is deprecated.  Use the proxy pattern instead.
	plugin: {
		add: function( module, option, set ) {
			var proto = $.ui[ module ].prototype;
			for ( var i in set ) {
				proto.plugins[ i ] = proto.plugins[ i ] || [];
				proto.plugins[ i ].push( [ option, set[ i ] ] );
			}
		},
		call: function( instance, name, args ) {
			var set = instance.plugins[ name ];
			if ( !set || !instance.element[ 0 ].parentNode ) {
				return;
			}
	
			for ( var i = 0; i < set.length; i++ ) {
				if ( instance.options[ set[ i ][ 0 ] ] ) {
					set[ i ][ 1 ].apply( instance.element, args );
				}
			}
		}
	},
--------------------end - code from jquery.ui.core ------------------

What version of the dynatree and jQuery are you using?
       dynatree v1.2.1 
       jquery v1.7.1 
       jquery.ui.core v1.8.22

On what operating system and browser? IE8 on windows 7

Any help on this plz....

May 1, 2014
Project Member #1 moo...@wwwendt.de
As of 2014 Dynatree is feature frozen.
Please have a look at Fancytree (sequel of DynaTree 1.x): chances are good that the problem was resolved / the requested featuer is already implemented.
Please open a new issue there otherwise:

https://github.com/mar10/fancytree
Status: WontFix
May 2, 2014
Project Member #2 moo...@wwwendt.de
Cleanup Scrumboard
Labels: Milestone-Release2.0