-
as seen on Stack Overflow
- Search for 'Stack Overflow'
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…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I'm trying to read a file from a local filesystem. I do not have a server at my disposal and thus i'm trying to do it this way. Here is what I got so far;
function init(){
netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserWrite');
dojo.xhrGet(
{
url:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've encountered what seems like a chicken & egg problem, and have what I think is a logical solution. However, it occurred to me that others must have encountered something similar, so I figured I'd float it out there for the masses.
The situation is that I want to use dojo's addOnLoad function…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi guys,
I have a form setup with dojo 1.5. I am using a dijit.form.ComboBox and a dijit.form.TextBox
The Combobox has values like "car","bike","motorcycle" and the textbox is meant to be an adjective to the Combobox.
So it doesn't matter what is in the Combobox but if the ComboBox does have a value…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey all,
Ok... I have a simple dojo page with the bare essentials. Three UL's with some LI's in them. The idea si to allow drag-n-drop among them but if any UL goes empty due to the last item being dragged out, I will put up a message to the user to gie them some instructions.
In order to do that…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm having a some problem making JSonRest store and dijit.Tree with ForestModel. I've tried some combination of JsonRestStore and json data format following many tips on the web, with no success.
At the end, taking example form here
http://blog.respondify.se/2011/09/using-dijit-tree-with-the-new-dojo-object-store/
I've…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Is there some way to disable opening/closing of a dijit.Tree nodes? I'm using the autoExpand and want to just show the entire tree without letting the user open/close the nodes.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I cannot get focusNode() or expandNode() get working. I also tried switching back to dojo 1.32 and even 1.3, no difference to 1.4. And I debugged with firebug, the node is a valid tree node and no errors occur but the node wont get focused. Help is VERY appreciated!
<head>
<script…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using the same dijit.Tree view over several pages in our application, and I'd like to have the cookie saved for the server name, instead of the folder name.
Right now I've got 3 pages and 3 cookies, which each hold their own information on the state of the Tree, which is kinda annoying.
Any ways…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to add a new node to a dijit.ree as a sibling of the currently selected node. I've found sample code (I'm new to dojo) that adds a new item to the tree using the newItem method of ItemFileWriteStore, but the new item always appears at the bottom of the tree. How would I add to the store at…
>>> More