PDA

View Full Version : Link on a tree node



Pacos
28 Jan 2010, 2:06 AM
Hi,

I'm using ExtJS 3.1, and I found myself in front of a problem I can't currently solve by myself. Here is the thing : I have a tree, and I want to put links on each node, including leafs. It works great for the leafs, but not for the other nodes :
- the link is set (displayed in navigator when 'mouseovered')
- but when I click on the node, or on the "+", it expands/deexpands, and don't redirect me to the link I specified

Is there a way to :
- put links on all nodes
- expand/deexpand nodes by clicking on the "+"
- use the link by clicking on the text of the node
- or every over solution that allows me to use both a link and an expand/deexpand feature on a node ?

If not possible, is it possible to :
- have an static expanded tree, with all nodes visible
- have links on these nodes ?

Thanks in advance for your precious help :)

Pacos
29 Jan 2010, 6:29 AM
Up ! Any ideas ?