Login Register

node

Tree widget: when a parent node becomes a child node of its son

Using Dnd feature in tree, you can experience what happens if you drag a parent node and drop it on any of its child nodes:
the parent node and the child node suddenly disappears from the view!

here is what happens in dijit/tests/tree/test_Tree_DnD.html:
treePic.jpg

The explanation simply is we just created an isolated subtree:

{solution found} dojo.fx.wipeOut() - node error

Hello Everyone...

Happy to discover your forums !
First, sorry if I post in the bad section, my english is not so good... ;-)
So I've a simple question for you, I hope someone'll have an answer for me !

I'm trying the dojo.fx.wipeOut(), but I've the following error : "node has no properties".
Here's my code :

dojo.require("dijit.form.Button");
dojo.require("dojo.fx");
var wipeOut = dojo.fx.wipeOut({node: "menu",duration: 1000});
var wipeIn = dojo.fx.wipeIn({node: "menu",duration: 1000});
var currentAnimation;

Can we modify Dojo Tree Style sheet

Can we modify Dojo Tree and Its Node Style sheet.
If yes then how and where it is?
Actually I wanted to show the BackGround colour of selected node.

thanks
Manjul

Expanding nodes with TreeRPCController

Hi,

I post this question here although I'm not using dijit. I hope either it can also be answered or moved to the correct place.

I have a Tree and a RPCController to load the nodes via a servlet. If I expand a node the data is loaded from the server and displayed correctly.

Now I want to search for nodes in the tree and then expand the nodes I found. The search is done on server side and I get back the path from the root to the corresponding node.

Highlighting tree nodes programmatically

I am working on a project to build a web-based audio player.

I am using a tree to represent the tracks (songs) of an audio recording; and I have gotten much of the functionality I want to work. The tree displays correctly (with icons), and I can click on a tree node, and the player will play that track.

reordering nodes in a Tree

I am using an ItemFileWriteStore to store data for my Tree widget. How can I go about reordering the top level nodes in my Tree? This might be a question that deals more with the ItemFileWriteStore, if so, please move this post to correct category.

Thanks!

Uncollapsable root node of a dijit.Tree?

Hi!

I'm wondering if it is possible to remove the [+] from the root node of the dijit.Tree widget, making it impossible to collapse the tree from the root node.
I don't mean the possibility to set the label of the root element.

Cheers,
rotorhead

Syndicate content