Id - property of the PmfTreeItem object
Description:
The identifier of the tree item.
Note:
Property access for
read-only.
This property is also functional in
Web panels.
The value was entered in the
sId parameter when creating the object by the
PmfTreeItem.CreateItem method
The identifier of the item must be unique within all the items in the same parent item, must not be empty string and must not contain the characters
"/" and
"\".
If the
Title property is not set or is
null, then the identifier in the tree is displayed as a title of the item.
The identifier of the root tree item cannot be set. Its value is always
"root".
The item identifiers can be used to create a path, that specifies the position of the item in the tree, see
GetItem and
GetPath methods.
Example:
JavaScriptSelect and copy to clipboard
var sId = oTreeItem.Id;
// Reading from the property