Check documentation for the latest version of dhtmlxSuite setListOptionUserData DHTMLX Docs

setListOptionUserData

sets userdata for a listed option

void setListOptionUserData(string|number parentId,string|number optionId,string name,mixed value);
parentIdstring|numberthe id of a select button
optionIdstring|numberthe id of a listed button
namestringthe name of userdata
valuemixedthe value of userdata

Example

myToolbar.setListOptionUserData(parentId, optionId, name, value);

Back to top