Skip to main content

getParent()

gets the ID of the parent of the control

getParent(id: Id): Id;

Parameters:

id: string - the ID of a control

Returns:

A string with the ID of the parent of the control.

Example

var parentId = toolbar.data.getParent("add_btn");