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
const parentId = toolbar.data.getParent("add_btn");
gets the ID of the parent of the control
id: string
- the ID of a controlA string with the ID of the parent of the control.
Example
const parentId = toolbar.data.getParent("add_btn");