Check documentation for the latest version 6.0 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);

Parameters

idstring|numberthe target item's id
namestringthe key for user data

Returns

string|number|booleanuser data from the target item

Example

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

See also
Back to top