Calendar: Function like setParent but getParent?

For dhtmlxCalendar

I need to get the ID of the parent element.

I know there is a function for setting the parent ID (setParent), but is there any way
to GET the parent ID element?

Hello,

there is not such a public method. You may try to use private approach:

var id = (typeof calendar.contId != ‘string’?calendar.contId.id:calendar.contId);