Get parent Id tree timeline

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

http://snippet.dhtmlx.com/5f2f9b5d9

Hi,

Use getActionData() method to return the current cursor-pointed section.
https://docs.dhtmlx.com/scheduler/api__scheduler_getactiondata.html

Demo https://snippet.dhtmlx.com/8a6db4495

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).