DHTMLX Docs & Samples Explorer

getItemType(name, value)

Returns type of item.

Parameters:

  • name - the id of item (the item's parameter 'name')
  • value - the value of a radio button ( the radio's parameter 'value'). Required for 'radio' items only
//for radio buttons
var type = myForm.getItemType(name, value);
//for other items
var type = myForm.getItemType(name);