DHTMLX Docs & Samples Explorer

setItemLabel(name, label)

Sets the label of item.

Parameters:

  • name - the id of item (the item's parameter 'name')
  • label - a new label (empty string if you want to cancel label)
myForm.setItemLabel("myItem", "New label");

See also: