Check documentation for the latest version of dhtmlxSuite getUserData DHTMLX Docs

getUserData

returns any user data set into the given input by the setUserData method

string|number|boolean getUserData(string|number id,string name);
idstring|numberthe target item's id
namestringthe key for user data
string|number|booleanuser data from the target item

Example

var type = myTreeView.getUserData(id, "type");

See also
Back to top