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

setListOptionUserData

sets userdata for a listed option

void setListOptionUserData(string|number parentId,string|number optionId,string name,mixed value);

Parameters

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