getItemValue

returns the value of a specified object field

string getItemValue(number|string id,string field);
idnumber|stringobject ID
fieldstringfield to get value of
stringvalue of a specified object field

Example

// "Board of Directors"
$$("diagram").getItemValue("root");

Related samples

Details

If the field parameter is not specified the method will access the object value field and return its value.

See also
Back to top