Click or drag to resize

ElementfindAncestorElement Method

Find at any level, not only a Parent at the first level.

Namespace:  Aras.Modules.CMF.Public
Syntax
JavaScript
function findAncestorElement(elementType);

Parameters

elementType
Type: string
see the "type" property.

Return Value

Type: [T:(Any)]
Aras.Modules.CMF.Public.Element
Examples
JavaScript
var foundElement = element.findAncestorElement('CMF Element Type Name');
See Also