DHTMLX Docs & Samples Explorer

setUserData(name, udKey, udValue)

Allows to attach user data to form without needing to modify the DOM.

Parameters:

  • name - the id of item (the item's parameter 'name')
  • udKey - the key by which the stored user data may be obtained
  • udValue - the object associated to 'udKey'
myForm.setUserData('myInput','Key',10)

See also: