PDA

View Full Version : ExtJS DnD is it better to use than YUI?



Rowan
31 May 2007, 2:22 AM
I have a rather large function using yui drag and drop which is based on this animating style of DnD

http://developer.yahoo.com/yui/examples/dragdrop/list.html?mode=dist

I've seen this

http://extjs.com/forum/showthread.php?t=6407&highlight=drag+drop+yui

and had a play with it to try to get it working like my YUI version, however I'm wondering what the benefits are of moving over to EXT DnD from the YUI one.

Are there noticeable speed improvements or should I stick with what I have working so far?

Thanks

tryanDLS
31 May 2007, 7:32 AM
Here's another thread (http://extjs.com/forum/showthread.php?t=1348) that discusses it a little. Unfortunately the thread it references seems to be lost - maybe Jack or Jon can resurrect it.

Rowan
31 May 2007, 8:05 AM
Ext looks like it's more fitting to what I want it to do however there is so little documentation of this without using the tree system it seems very hard to start to get a grasp of why this is better than YUI and how to actually implement it properly.

I've played with the API and started to work on some things but really I am finding it hard to understand the basics of setting up dragzones and dropzones. Everyone on here seems to have a custom implementation or extension / superclass to use drag and drop.

My current function is based on the same YUI example that moraes (http://extjs.com/forum/member.php?u=224) is in that example, however I would like to keep everything in one framework so moving over to EXT seems the right thing to do, however I'm stuck as to how to do that exactly. moraes (http://extjs.com/forum/member.php?u=224) function is ok but certainly isn't as robust as I need it for my application.

Also when you use the DnD from a grid, do you know how to change the proxy from the text type into one I could make myself and manage (like the proxy in the example there).

Sorry to post a million questions.

jon.whitcraft
31 May 2007, 10:24 AM
I'll try and find that post tonight. luckily I have the old db still. :-D

Rowan
1 Jun 2007, 2:06 AM
Thanks that would be great!

jon.whitcraft
5 Jun 2007, 5:14 PM
Guys. With out some sort of pointer I'm not sure which post I'm looking for. If you could give me some pointers of what i could be looking for that would be nice?

tryanDLS
5 Jun 2007, 6:00 PM
It's this one http://www.yui-ext.com/forum/viewtopic.php?t=1712

EDIT: Here's another that disappeared: http://www.yui-ext.com/forum/viewtopic.php?t=1956