Get parent Id tree timeline


how get i get the parent id in timeline mode tree onClick
for exemple :
key:20, label:“Web Testing Dep.”



Use getActionData() method to return the current cursor-pointed section.



Hi Polina,

Am sorry, my question wasn’t clear, i want to ask how to get the parent id when on click the children node ?


any idea :slight_smile:
thank you in advance


When you know child Id value, you need to find parent in the array with section (elements in snippet).