PDA

View Full Version : Help with Treepanel.



a10m84
8 Jun 2011, 5:48 AM
Hello.

Whenever a I put the mouse pointer over the row of a tree node, the node gets highlighted and the mouse pointer turns into a selection hand. I want that this behavior takes place only when the mouse pointer is over the textfield of the node and not over the row of the treenode.

I have been searching in other posts but I haven't still found the answer.
Is there anyway to achieve this?

Thank you.

a10m84
14 Jun 2011, 4:59 AM
Here is a screenshot that shows my problem with the selection of the nodes:

26573

I can select a node inside its row (watch red point in the screenshot).

I have tried to disable the css:



{
background-color: #FFFFFF !important;
}

.x-tree-node-over
{
background-color: #FFFFFF !important;
text-decoration:underline !important ;
}


.x-tree-selected
{
background-color: #FFFFFF !important;

}



but I need to indicate which node is selected. I want the node gets selected only when the pointer is over the text of the node.

Thank you for your help.