reecegwt
10 Nov 2009, 4:06 PM
HI,
I have two tree panels treeA and treeB.
When i click on a treeA node,it is expanded and the background of that node is highlighted.
and now,when i click on treeB node,it is also expanded and the background is highlighted as expected.
My requirement is:
when i click and expand treeB node , i need to collapse the treeA node ,which i am able to do it successfully.
But i am not able to remove the highlighting of the treeA node when it is collapsed.
It is still shown as selected node even though it is collapsed.
I collapse the tree calling collapseAll() on TreeA. how can i remove the style "x-ftree2-selected" from the node of TreeA after collapse.
Any help?
Thanks
reece
I have two tree panels treeA and treeB.
When i click on a treeA node,it is expanded and the background of that node is highlighted.
and now,when i click on treeB node,it is also expanded and the background is highlighted as expected.
My requirement is:
when i click and expand treeB node , i need to collapse the treeA node ,which i am able to do it successfully.
But i am not able to remove the highlighting of the treeA node when it is collapsed.
It is still shown as selected node even though it is collapsed.
I collapse the tree calling collapseAll() on TreeA. how can i remove the style "x-ftree2-selected" from the node of TreeA after collapse.
Any help?
Thanks
reece