DHTMLX Docs & Samples Explorer

setItemType(name,processor)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxfolders.js

define type of items (see among defined types)

  • name - name of type (if user-defined xml-xsl type, them use “xml_generic”, if userdefined js type, then use “js_generic”)
  • processor - (for xml-xsl) url of xsl file to use for this type, (for js) function which gets json object and returns html string.