Check documentation for the latest version of dhtmlxSuite setSubTree DHTMLX Docs

setSubTree

attaches a tree-like editor to a grid's column

void setSubTree(object subgrid,number sInd);
subgridobjectthe tree object
sIndnumberthe column of the main grid, which should contain the tree

Example

mygrid.setColTypes("stree");
mygrid.setSubTree(subgrid,sInd);

Details

read more about a grid-like editor in the article Column Types

Back to top