dojo-dnd

Can't select text in input box on IE

I have an input box that is inside of a div, the div has a background image and the input box inside of it is positioned and limited in size / font to work nicely with the background image. In FF everything works as expected, in IE though there is a major issue. I can't select the text inside of the input box using the mouse or use sho...

Dojo dnd input box

I'm trying to move the contents of an input box using Dojo DnD, so the HTML looks something like this: <div id="input_box"> <input type="text" class="my_input_box_style" /> </div> And the JavaScript looks something like this: var dndSource = new dojo.dnd.AutoSource(dojo.byId("input_box"), { singular: true, copyOnly: true, sel...

Can we have nested targets in Dojo?

I have two divs nested under a parent div and I want all these to be source as well as targets for dojo.dnd. I want to be able to add nodes to the div over which the content was dropped and also allow the user to move this in between the 3 divs. Something like this - http://www.upscale.utoronto.ca/test/dojo/tests/dnd/test_nested_drop_t...

how to get/set an acceptance of a dojo.dnd.source

I need to call a function that changes the dnd.source acceptance previously created. Any idea to how to change an existent dojo.dnd.source would be greatful. thanks. Code i used to create: var catalog = new dojo.dnd.Source ( 'div_catalog', { accept: ['inStock'] }); sorry for my english, i'm still learning. Thanks again. ...

how do i set and refresh properties of dojo.dnd.source

how can i set the parameters of an existent dojo.dnd.source and aplly this changes? thx in advance. ...

How to write a creator for dnd enabled dijit tree

Hi, I have a digit tree that has dnd enabled via the dndController="dijit._tree.dndSource" option.Currently when drag is initiated the avatar content seems to be right aligned. The avatar is automatically picking the image and text content of item that is being dragged but I would like to have this information left aligned. I believe ...

Use Dojo Drag and Drop together with Dojo Moveable

Hi, I'm using Dojo.dnd to transfer items between to areas. The problem is: the items will snap into place once I drop them, but I'd like to have them stay where I drop them, but only for one area. Here's a little code to explain this better: <div id="dropZone" class="dropZone"> <div id="itemNodes"></div> <div id="targetZone"...

Dojo: How to use a DnD EnhancedGrid to change order of stored items?

Hey all, title says most of it. Im using Dojo and i want to have a grid (currently using an EnhancedGrid with the DnD plugin) in which i can drag and drop items to change their stored order. So, if i had items [1][2][3], and dragged [1] behind [3], i would have (in the store) [2][3][1]. Currently with DnD i can move rows about how ever...

How to prevent dojo.dnd.moveable to make input fields disable

Hi I use dojo.dnd.Moveable for making DIVs drag-able & drop-able in the page (Something like iGoogle). But the problem is after making them moveable, all of input fields (like text-boxes and list-boxes) will be disable and I can not write any thing in text fields or select any item from list-boxes! What should I do with that? Tnx /Gol...

Eclipse 3.6 lag when copy and pasting

Hi everyone, I'm having a strange problem with Eclipse 3.6 where copy and pasting causes a lot of lag (total eclipse lockup for 5-10 seconds). I'm using the Helios 3.6 PHP build but have also tried Galileo to no avail. On .php files editing PHP code, it is fine and there is no delay. Same with .html and .js, but it only happens when ...

Dojo Query, Query ?

I am trying to use dojo drag and drop within an application. Although I have ran into a little problem basically when a user drops an item into a dijit pane I would like it to target the table below the dijit. I have been able to acheive this if I do the following: day1Drop = new dojo.dnd.Target(dijitDiv.id,{accept: ["shift"]} ); //...

Dojo.dnd.source generateText property not taking effect with avatars

When using dojo.dnd with avatars, dojo automatically creates a span containing the number of nodes in the avatar to make sure, there is something shown while dragging. From the source of dojo.dnd.avatar: (..) span = dojo.create("span", innerHTML: source.generateText ? this._generateText() : "" (..) _generateText: function(){ // sum...