DHTMLX Docs & Samples Explorer

addRow(new_id,text,ind,parent_id,img,child)

Required library edition: This method requires Professional Edition of the DHTMLX library
Required library file: dhtmlxtreegrid.js

add new row to treeGrid

  • new_id - new row id
  • text - array of row label
  • ind - position of row (set to null, for using parentId)
  • parent_id - id of parent row
  • img - img url for new row
  • child - child flag [optional]