How To Get Chart ID from the Menu Item?

I Create Menu To the Gantt chart.I want to Get The Gantt chart when I Click Menu item.So,how to get it.Thanks.

Hello,
you need to store a task id, when you opening the context menu. Similar to how it’s described in this topic (it’s related to the dhtmlxScheduler, but the approach would be exactly the same)
viewtopic.php?f=6&t=34336&p=108030&hilit=context#p108030

thanks,I finish.