getParent

gets the ID of the parent of the control

void getParent(string id);

Parameters

idstringthe ID of a control

Example

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

Back to top