Click or drag to resize

Element Class

It's like a node in the tree.

Namespace:  Aras.Modules.CMF.Public
Syntax
JavaScript
Aras.Modules.CMF.Public.Element = function();

Type.createClass(
	'Aras.Modules.CMF.Public.Element');

The Element type exposes the following members.

Constructors
  NameDescription
Public methodElement
Top
Properties
  NameDescription
Public propertyCode exampleboundItemId
Id of the bound Item.
Public propertyCode exampleid
Id of the current Element.
Public propertyCode exampleparentId
Id of the parent Element.
Public propertyCode examplesortOrder
Sort Order.
Public propertyCode exampletype
Name of corresponding cmf_ElementType Item.
Top
Methods
  NameDescription
Public methodCode examplefindAncestorElement
Find at any level, not only a Parent at the first level.
Public methodCode examplefindDescendantElements
Find at any level, not only children at the first level.
Public methodCode examplegetPropertyItem
Get a Property Item of the current Element (both visible and invisible in Grid). A grid cell of the tree node.
Public methodCode examplegetPropertyItems
Get all Property Items of the current Element (both visible and invisible in Grid). Grid cells of the tree node.
Top
See Also