getParent()
gets the ID of the parent of the control
getParent(id: string | number): string | number;
Parameters:
id: string | number
- 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");