Check documentation for the latest version 6.0 of dhtmlxSuite setUserData DHTMLX Docs

setUserData

sets userdata for an item

void setUserData(string|number itemId,string name,mixed value);

Parameters

itemIdstring|numberthe id of an item
namestringthe name of userdata
valuemixedthe value of userdata

Example

myToolbar.setUserData(itemId, name, value);

Back to top