Check documentation for the latest version of dhtmlxSuite setItemLabel DHTMLX Docs

setItemLabel

sets the label of an item

void setItemLabel(string name,string value,string label);
namestringthe name of an item
valuestringthe value of an item (for a radio button)
labelstringa new label (an empty string if you want to remove the label)

Example

myForm.setItemLabel(name, "New Text");
myForm.setItemLabel(name, value, "New Text"); // for radio button

Back to top