DHTMLX Docs & Samples Explorer

addRowBefore(new_id,text,sibl_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, before some other row

  • new_id - new row id
  • text - array of row label
  • sibl_id - id of row, related to which new one will be added
  • img - img url for new row
  • child - child flag [optional]