Function to find selected level in tree widget

67 views
Skip to first unread message

vinod...@gmail.com

unread,
Jul 24, 2016, 9:54:27 AM7/24/16
to Fujitsu RunMyProcess Developer Community
Hi,

Is there any function to find which level in the tree is selected (eg. selecting 01 being level 1 and 0101 Product 01 being level 3 in tree in the attached screenshot)? Also, is there any function to navigate to parent node from selected node?

Request guidance; thanks in advance

Regards


Vinod

treeselection.png

Pankaj Kumar

unread,
Jul 24, 2016, 11:05:42 AM7/24/16
to Fujitsu RunMyProcess Developer Community
Hi Vinod,

Each node have a parentId associated with itself. You can get the parentId via two methods, getNodeData(node_id) or getSelectedData. You can not directly get the index node.

Please refer to below link for additional details:-

Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support



Vinod

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/117d3af2-0508-4c70-9c46-4f8979dc57a5%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

vinod...@gmail.com

unread,
Jul 24, 2016, 11:28:18 AM7/24/16
to Fujitsu RunMyProcess Developer Community
Hi Pankaj

Thanks for the guidance

Regards


Vinod

Reply all
Reply to author
Forward
0 new messages