Check documentation for the latest version of dhtmlxSuite setSubGrid DHTMLX Docs

setSubGrid

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

void setSubGrid(object subgrid,number sInd,number tInd);
subgridobjectthe subgrid object
sIndnumberthe column of the main grid, which should contain the subgrid
tIndnumberthe column of the subgrid, its value will be displayed in the main grid cell

Example

mygrid.setColTypes("grid");
mygrid.setSubGrid(subgrid,sInd,tInd);

Details

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

Back to top