Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to find the parent node of a selected node in a treeTable component

2664912Nov 16 2016 — edited Dec 12 2016

Hi All,

Could anyone give me some valid pointers to find out all the parent nodes of a selected node of a tree table component.

Prob statement is :

root1

     |_Child11

             |_ Child12

                    |_ Child13

root2

     |_Child21

              |_Child22

                    |_Child23

IF I have selected Child23 then I how can i get this printed on console :

Child23, Child22, Child21, root2

Need to go to top node for a selected child node.

Thanks.

This post has been answered by Timo Hahn on Nov 24 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 9 2017
Added on Nov 16 2016
5 comments
1,305 views