Login Register

dnd

DnD - Horizontal alignment?

I have the simple dnd example working as in: http://www.dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dijit-...

I'd like to know how I make the items in the source and target boxes align horizontally rather than vertically, I'm not sure if this is a CSS or dojo issue.

I've tried fixing the .bluesquare and .redsquare width to 50px (rather than 100%) and I have expended the width of the Target div, but I'm having no luck.

TIA.

How do I remove the number 1 in an draggable item...

Hi,

how do I get rid of the number 1 always showing when I drag an item?
I already tried to build my own creator function, but still this number is showing...

Any ideas?

Help!!! DND across iframes :)

Hi @all,

I am a DOJO newbie and can't solve a problem I am currently facing.
On my Website I have an Iframe with draggable elements. It is no problem to initialize the main table object as a dojo.dnd.Source Object. But when I try to drag the -Elements the dojo.dnd.Manager has no nodes to clone:
(this dojo line of code fails: node = this.manager.nodes[i].cloneNode(true); )
How do I tell the manager to listen to dojoDndItem in an Iframe?

Here is the source code of the parent frame: (initDragAndDrop() is called by the IFrame onLoad event)

dojo.require("dojo.dnd.Source");

Problem in drag&drop (dnd) for nested sources in gridcontainer at runtime.

Hi, I am trying to do the drag&drop (dnd) for nested sources at runtime.

But i am not able to do it.

If any one can help me in this it will be a great help.

Regards,

JJ

Problem in dnd for nested sources using gridcontainer at run time

Hi, I am trying to do the drag&drop (dnd) for nested sources at runtime.

But i am not able to do it.

If any one can help me in this it will be a great help.

Regards,

JJ

Problem in dnd for nested sources in gridlayout at runtime

Hi, I am trying to do the drag&drop (dnd) for nested sources at runtime. But i am not able to do it. If any one can help me in this it will be a great help.

problem in dnd for nested sources at runtime

Hi, I am trying to do the drag&drop (dnd) for nested sources at runtime. But i am not able to do it. If any one can help me in this it will be a great help.

dnd - no item in target

Hi everyone,

I was just wondering if it is possible to have a drag'n drop target without displaying the source-items on it. To be more specific:

I have a list of images and a list of folders. Now I wanted to take some images and drop them on the folders - an xhr-request is performed and thats it. There is no need for the images to be displayed. In fact, thats senseless :)

Actually, I'm performing this action with prototype, which works fine, but I have to grab more images at once.

So I there any option to disable this function? Didn't find anything in the API nor on dojocampus.

DnD item non-movable?

I am using the DnD functionality similar to this example:
http://dojocampus.org/explorer/#Dojo_Drag%20And%20Drop_Lists

How can I make "Item X" in the "Source 2" container non-movable?

Thanks,
Larry

dojo.dnd onSelect event or topic

Hey!
Is there a way to get a notification when a node gets selected?
I want to deselect all nodes from different sources when a node is selected because it makes the user think he can select nodes from different sources and drag them all at once.
A topic like /dnd/drop would be totally sufficient.

Is there a way to implement an own topic without patching the dojo source itself? I already build my own source which probihits copying. As I understand the docs I have to write my own Selector then?

Syndicate content